Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 22, 2011
  1. Add -I$(KERNEL_TREE)/include/ -I$(KERNEL_TREE)/include/linux to CFLAGS.

    Mohan Srinivasan authored
    Fix suggested by several people (Vadim, Or, Alexander).
Commits on Feb 16, 2011
  1. 1) Fix for a critical (and rather embarassing) copy-paste bug in the

    Mohan Srinivasan authored Mohan Srinivasan committed
    previous commit. The bug only really affects writethrough mode.
    This bug can corrupt filesystems, because it confuses the cache_dev
    and disk_dev.
    2) Adding a bunch of stats while at it.
Commits on Jan 26, 2011
  1. When syncing dirty blocks from a cache removal, flashcache could flood

    Mohan Srinivasan authored
    printks (cleaning progress updates). This can cause node
    hangs. Ratelimit these progress update printks to avoid this.
    Huge thanks to Feng Yu for finding this bug, narrowing it down to the
    printk as the proble and, testing the fix. Thanks also to Jens Axboe
    for spending time on this.
Commits on Jan 23, 2011
  1. Fix the dirty percent calculation in update_sync_progress().

    Mohan Srinivasan authored
Commits on Jan 19, 2011
  1. Replace the one use of float (in the dmsetup table path) and replace

    Mohan Srinivasan authored
    it with u_int64_t. Usage of float (without saving and restoring fp
    state across the math) is a bug because it corrupts userspace fp
    state.
    Thanks to Jens Axboe for pointing this bug out.
  2. Clear the stop_sync state when starting up a sync. This fixes a bug

    Mohan Srinivasan authored
    there a (slow) dmsetup remove hangs forever while cleaning dirty
    blocks if a stop_sync was ever done.
  3. Fix a couple of typos in the optimal XFS agsize/agcount computations.

    Mohan Srinivasan authored
    Spotted by Feng Yu.
Commits on Jan 18, 2011
  1. Always push the metadata update to the worker thread upon completion

    Mohan Srinivasan authored
    of the data write. This fixes a deadlock caused by an IO completion
    thread blocking on a write.
    Thanks to Feng Yu for finding, reporting the bug and Jens Axboe for
    the fix.
Commits on Jan 6, 2011
  1. Fix a linux 2.6.18/2.6.19 compile problem that crept in when I committed

    Mohan Srinivasan authored
    the fix for the Ubuntu/Debian sysctl fixes.
    Thanks to Feng Yu for reporting and fixing this.
Commits on Jan 5, 2011
  1. If for a bug (in the flashcache_create path) I introduced when the

    Mohan Srinivasan authored
    dm_get_device wrapper (flashcache_get_dev()) was introduced, a
    few days ago. The size of the disk dev was being truncated to
    fit in a int32.
    Thanks to Feng Yu for catching the bug and providing a fix.
Commits on Jan 4, 2011
  1. 1) Add an option to flashcache_create (-a) to specify cache associati…

    Mohan Srinivasan authored
    …vity.
    
    2) Fixes for lots of minor bugs in flashcache_create.
    Patch submitted by Krzysztof Blaszkowski.
  2. Add a missing cast to cache block address computation.

    Mohan Srinivasan authored
    Patch submitted by Krzysztof Blaszkowski.
Commits on Dec 22, 2010
  1. Add git rev to /proc/flashcache_version and to the usage() printed ou…

    Mohan Srinivasan authored
    …t by
    
    the flashcache utils.
    Patch contributed by Krzysztof Blaszkowski.
  2. Makefile improvement contributed by Krzysztof Blaszkowski.

    Mohan Srinivasan authored
  3. A cleanup to flashcache_ctr(), adding a inline wrapper funtion around…

    Mohan Srinivasan authored
    … dm_get_device().
    
    Patch contributed by Krzysztof Blaszkowski.
Commits on Dec 14, 2010
  1. Fix for the sysctl problems on Ubuntu/Debian kernels. With this change,

    Mohan Srinivasan authored
    the sysctl interface on these platforms works.
    Thanks to :
    Hector Izquierdo Seliva for researching, providing, testing the fix.
    Michael Iverson and Moritz for testing the fix.
  2. Remove the calls to unplug the ssd's device queue after enqueueing an

    Mohan Srinivasan authored
    IO to it. This was done a long time ago to optimize for a perverse
    workload, but it breaks almost all common workloads by inhibiting
    request merging. This change reduces ssd %util significantly and
    has other beneficial effects.
Commits on Dec 11, 2010
  1. Fixes a copy-paste bug in the previous commit (for the RHEL6 port).

    Mohan Srinivasan authored
    Thanks to Krzysztof Blaszkowski for catching this and providing a
    fix for this.
Commits on Dec 7, 2010
  1. Committing changes from Taira Hajime (redhat) for getting flashcache

    Mohan Srinivasan authored
    compiling on RHEL6 and make intall.
Commits on Dec 1, 2010
  1. Fixes a panic in the flashcache_create/load path in some Linux

    Mohan Srinivasan authored
    releases (between .22 and .29).
Commits on Nov 29, 2010
  1. 2.6.26 port. Contributed by John M. Drescher.

    Mohan Srinivasan authored
Commits on Nov 23, 2010
  1. Fix error handling in the DM callbacks. we maps any error from the

    Mohan Srinivasan authored
    block layer to -EIO.
Commits on Nov 9, 2010
  1. 1) evert a change to the read cache path. The change being revertedd

    Mohan Srinivasan authored
    is found to hang IOs (reads) on 2.6.18 (originally tested on later
    kernels where the hang was not seen).
    The change being reverted :
    
    commit 9f9914a
    Date:   Tue Aug 17 13:32:45 2010 -0700
    
        Changes to the cache miss (readfill) path to send out longer (sorted)
        chains of writes to the ssd.
    
    2) Add a log message for disk errors in the uncached IO path.
Commits on Oct 25, 2010
  1. flashcache 2.6.34 port.

    Mohan Srinivasan authored
    Submitted by Taira Hajime and Patrick Mullaney.
Commits on Oct 21, 2010
  1. 1) Fix for a bug where an IO error would not be passed up for uncache…

    Mohan Srinivasan authored
    …d IOs.
    
    2) Add a counter for a specific case in the uncached IO path.
Commits on Oct 15, 2010
  1. Fixes for build errors on releases 2.6.21-2.6.27.

    Mohan Srinivasan authored
    Flashcache and Flashcache-wt build successfully on every release from
    2.6.18..2.6.33 now.
Commits on Oct 13, 2010
  1. Fix a build error around find_task_by_vpid().

    Mohan Srinivasan authored
Commits on Oct 4, 2010
  1. flashcache-wt ported to 2.6.34.

    Mohan Srinivasan authored
    Patch submitted by Hajime Taira (Redhat).
    htaira at redhat dot com
  2. Fix a compile warning in the previous commit.

    Mohan Srinivasan authored
  3. Allow flashcache to work on 2.6.33.

    ps authored
Commits on Aug 27, 2010
  1. Merge branch 'master' of github.com:facebook/flashcache

    Mohan Srinivasan authored
  2. Merge branch 'master' of github.com:facebook/flashcache

    Mohan Srinivasan authored
  3. Merge branch 'master' of github.com:facebook/flashcache

    Mohan Srinivasan authored
  4. Changes to cut down the memory footprint of flashcache by 1/3

    Mohan Srinivasan authored
    by cutting down the per-block in-memory metadata by 1/3. This
    results in big savings. For a 600GB cache this cuts down the
    memory footprint by 1.2GB, for a 300GB cache, the savings
    is 600MB.
Something went wrong with that request. Please try again.