Permalink
Commits on Apr 26, 2016
  1. Update README

    caabernathy committed Apr 26, 2016
  2. Update README

    Archive update
    caabernathy committed Apr 26, 2016
Commits on Sep 4, 2015
  1. Merge pull request #210 from f1f2/centos7

    add centos 7 compile from Makefile
    mohans committed Sep 4, 2015
  2. add centos 7 compile

    rekby committed Sep 4, 2015
Commits on Jul 1, 2015
  1. Merge pull request #204 from vinsonlee/linux-4.2

    Fix Linux 4.2 compilation errors.
    mohans committed Jul 1, 2015
  2. Fix Linux 4.2 compilation errors.

    Signed-off-by: Vinson Lee <vlee@twitter.com>
    vinsonlee committed Jul 1, 2015
Commits on Dec 16, 2014
  1. Merge pull request #196 from flygoast/master

    Fixed typo.
    mohans committed Dec 16, 2014
Commits on Dec 14, 2014
  1. Fixed typo.

    flygoast committed Dec 14, 2014
Commits on Nov 26, 2014
  1. Merge pull request #194 from iliastsi/master

    Remove dm_target from cache list before freeing it
    mohans committed Nov 26, 2014
Commits on Nov 20, 2014
  1. Remove dm_target from cache list before freeing it

    Function 'flashcache_dtr' destroys the dmc object before removing it
    from the cache list. This causes a kernel oops with 'unable to handle
    kernel paging request' in case the functions 'flashcache_dtr' and
    'flashcache_notify_reboot' are called at the same time since the latter
    tries to access memory that the first one has freed.
    
    This patch fixes the above bug by removing the dmc object from the
    cache list before deallocating it.
    iliastsi committed Nov 20, 2014
Commits on Nov 3, 2014
  1. 3.17. 3.18 compilation fixes.

    Summary:
    3.17. 3.18 compilation fixes.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Nov 3, 2014
Commits on Aug 8, 2014
  1. Add iterate_devices flashcache function. Up the higher bound on dirty…

    … thresh to 95% (from 90%).
    
    Summary:
    1) Add iterate_devices flashcache function. Needed to make flashcache work with 4KB sectored
    "disk" devices.
    2) Up the higher bound on dirty thresh to 95% (from 90%).
    Thanks to Kumar Sundararajan (facebook) for help with this change !
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 8, 2014
Commits on Aug 3, 2014
  1. Revert use of flashcache_kcopy until we find and fix a subtle bug.

    Summary: Revert the use of flashcache_kcopy, and fall back to the
    tried and tested use of kernel kcopyd until we find and fix a subtle
    bug causing copy job leaks. The commit also removed some old #ifdef'ed
    out code.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 3, 2014
Commits on Aug 1, 2014
  1. Changes to add "writecache" mode - write only caching

    Summary: Commit contains 2 changes
    1) Add a "writecache" mode, a variant of writeback caching where
    only incoming writes are cached.
    2) Improves disk write clustering for disk cleaning by reading
    all the dirty blocks from flash in a chain and then issuing large
    write for the entire chain (flashcache_kcopy.c).
    
    Test Plan:
    
    Reviewers: Herman Lee (facebook).
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 1, 2014
Commits on Jul 7, 2014
  1. Fix a horrible breakage in the previous 2 commits that causes instant…

    … crashes.
    
    Summary: Fix a horrible breakage in the previous 2 commits that causes instant
    crashes on all kernels.
    
    Test Plan: Tested on 2.6.38.
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Jul 7, 2014
Commits on Jul 4, 2014
  1. Fix another (< 3.14) compilation issue.

    Summary: Fix another (< 3.14) compilation issue.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Jul 4, 2014
Commits on Jul 3, 2014
  1. Compilation fixes for 3.14+

    Summary: Compilation fixes for 3.14+
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Jul 3, 2014
Commits on Dec 9, 2013
  1. Merge pull request #155 from pubyun/master

    fix compile error on RHEL 6.5
    mohans committed Dec 9, 2013
Commits on Dec 6, 2013
  1. fix compile error on RHEL 6.5

    pubyun committed Dec 6, 2013
Commits on Oct 17, 2013
  1. Bump flashcache sw rev to 3.1.1.

    Summary: Bump flashcache sw rev to 3.1.1.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Oct 17, 2013
  2. Revert previous change.

    Summary: Revert previous change. Some code that I did not intend
    to commit got committed accidentally.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Oct 17, 2013
Commits on Oct 16, 2013
  1. Up flashcache SW rev to 3.1.1

    Summary: Up flashcache SW rev to 3.1.1
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Oct 16, 2013
Commits on Oct 9, 2013
  1. Merge pull request #145 from jb044/master

    Add dracut-flashcache-0.3, initial commit
    mohans committed Oct 9, 2013
  2. Add dracut-flashcache-0.3, initial commit

    Jeroen Beerstra committed Oct 9, 2013
Commits on Sep 6, 2013
  1. Merge pull request #136 from hshopeful/patch-1

    Update flashcache_reclaim.c
    mohans committed Sep 6, 2013
Commits on Sep 5, 2013
  1. Fix for a bug where we "leak" cache blocks.

    Summary:
    
    Fix for a bug where we "leak" INVALID blocks. This happens if we
    get uncacheable reads on a fresh cache. The symptom of this is that
    after a few days of running (and load), the cache will always be < 100%
    utilized. Thanks to Domas Mituzas for finding the bug and Kumar Sundararajan
    for his help in fixing this.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Sep 5, 2013
Commits on Sep 2, 2013
  1. Update flashcache_reclaim.c

    The function of flashcache_reclaim_demote_block() is to swap this hot block with the MRU block in the warm queue.
    
    And the MRU block in the warm queue is related to warmlist_lru_tail,so
    
    the code:
    warm_block = cache_set->warmlist_lru_head; 
    
    should be:
    warm_block = cache_set->warmlist_lru_tail;
    hshopeful committed Sep 2, 2013
Commits on Aug 23, 2013
  1. An uncacheable READ should be served out of the cache when possible.

    Summary:
    Fix for another bug that got introduced during the mergeorama.
    An uncacheable READ will end up evicting the cached block (cleaning
    it first if necessary). This should not happen, we should always
    try and serve the cached block on an uncacheable READ. But a READ
    miss will go to disk.
    
    This bug does not affect correctness, but it could adversely impact
    cache hit rates.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 23, 2013
  2. New disk write clustering algorithm.

    Summary:
    Now that we have per-block hashes, this commit adds a new (and
    hopefully improved) dirty block clustering algorithm. The new
    algorithm is disabled by default and can be enabled by
    new_style_write_merge sysctl.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 23, 2013
Commits on Aug 22, 2013
  1. Fix for a SMP locking bug introduced in the recent merge-o-rama.

    Summary:
    Fix a bug in the locking of the skip_sequential_io logic that
    was introduced in the merge-o-rama.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 22, 2013
Commits on Aug 21, 2013
  1. Re-fix a bug that was fixed long ago but change clobbered by recent m…

    …erge-o-rama.
    
    Summary:
    Re-commit a fix for a bug. This fix was committed a long time ago, but it was
    clobbered amidst the recent merge-o-rama. The bug causes a crash (assertion
    failure) in the (fallow_cleaning && LRU_reclaim) case. The original fix was
    this :
    
         commit 60a143e
         Author: Mohan Srinivasan <mohan@fb.com>
         Date:   Mon Jul 9 11:36:54 2012 -0700
    
         Fix for a crash for the (fallow_cleaning && LRU_reclaim) case.
    
        Summary: Fix for a copy-paste bug, which can cause crashes when fallow cleaning is enabled in
        conjunction with LRU reclamation. Found by Vyacheslav Maslow and Wang Ning. This bug was also
        fixed a long time ago (but not committed) by Kumar Sundararajan (facebook).
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 21, 2013
Commits on Aug 16, 2013
  1. Fix a locking bug in skip_sequential_io introduced in the ulocks commit.

    Summary: We were trying to acquire the ioctl_lock() again in the same thread.
    It was acquired in flashcache_map(), which calls into flashcache_uncacheable()
    which calls skip_sequential_io(). The locking changes tried to re-acquire the
    spinlock in skip_sequential_io() again.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 16, 2013
Commits on Aug 13, 2013
  1. Missing flashcache_reclaim.c file from earlier commit.

    Summary: Missing flashcache_reclaim.c file from earlier commit.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 13, 2013
  2. Block hashing, fast allocation of invalid blocks, important fixes.

    Summary:
    1) Hash all VALID blocks in a set for fast lookups and invalidations.
    2) Fast allocation of INVALID blocks.
    3) Critical fixes - fix for a softlockup (kworker doing flashcache
       processing), page allocation failures in the background cleaning
       path by pre-allocation of background buffers, serious bug that
       causes data corruption on a flashcache_load because the disk_assoc
       was initialized wrongly.
    
    Ported to open source from internal facebook repo.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 13, 2013
Commits on Aug 7, 2013
  1. Flashcache ulocks changes.

    Summary:
    
    Sweeping ulocks changes to flashcache.
    
    Ported forward from the facebook internal repo.
    
    Test Plan:
    
    Reviewers:
    
    CC:
    
    Task ID: #
    
    Blame Rev:
    Mohan Srinivasan committed Aug 7, 2013