Permalink
Commits on Feb 22, 2011
  1. Add -I$(KERNEL_TREE)/include/ -I$(KERNEL_TREE)/include/linux to CFLAGS.

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

    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.
    Mohan Srinivasan committed with Mohan Srinivasan Feb 16, 2011
Commits on Jan 26, 2011
  1. When syncing dirty blocks from a cache removal, flashcache could flood

    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.
    Mohan Srinivasan committed Jan 26, 2011
Commits on Jan 23, 2011
  1. Fix the dirty percent calculation in update_sync_progress().

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

    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.
    Mohan Srinivasan committed Jan 19, 2011
  2. Clear the stop_sync state when starting up a sync. This fixes a bug

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

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

    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.
    Mohan Srinivasan committed Jan 18, 2011
Commits on Jan 6, 2011
  1. Fix a linux 2.6.18/2.6.19 compile problem that crept in when I committed

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

    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.
    Mohan Srinivasan committed Jan 5, 2011
Commits on Jan 4, 2011
  1. 1) Add an option to flashcache_create (-a) to specify cache associati…

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

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

    …t by
    
    the flashcache utils.
    Patch contributed by Krzysztof Blaszkowski.
    Mohan Srinivasan committed Dec 22, 2010
  2. Makefile improvement contributed by Krzysztof Blaszkowski.

    Mohan Srinivasan committed Dec 22, 2010
  3. A cleanup to flashcache_ctr(), adding a inline wrapper funtion around…

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

    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.
    Mohan Srinivasan committed Dec 14, 2010
  2. Remove the calls to unplug the ssd's device queue after enqueueing an

    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.
    Mohan Srinivasan committed Dec 14, 2010
Commits on Dec 11, 2010
  1. Fixes a copy-paste bug in the previous commit (for the RHEL6 port).

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

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

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

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

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

    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.
    Mohan Srinivasan committed Nov 9, 2010
Commits on Oct 25, 2010
  1. flashcache 2.6.34 port.

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

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

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

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

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

    Mohan Srinivasan committed Oct 4, 2010
  3. Allow flashcache to work on 2.6.33.

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

    Mohan Srinivasan committed Aug 27, 2010
  2. Merge branch 'master' of github.com:facebook/flashcache

    Mohan Srinivasan committed Aug 27, 2010
  3. Merge branch 'master' of github.com:facebook/flashcache

    Mohan Srinivasan committed Aug 27, 2010
  4. Changes to cut down the memory footprint of flashcache by 1/3

    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.
    Mohan Srinivasan committed Aug 27, 2010