1. 11 Nov, 2013 1 commit
    • Kent Overstreet's avatar
      bcache: Fix dirty_data accounting · 1fa8455d
      Kent Overstreet authored
      Dirty data accounting wasn't quite right - firstly, we were adding the key we're
      inserting after it could have merged with another dirty key already in the
      btree, and secondly we could sometimes pass the wrong offset to
      bcache_dev_sectors_dirty_add() for dirty data we were overwriting - which is
      important when tracking dirty data by stripe.
      Signed-off-by: default avatarKent Overstreet <kmo@daterainc.com>
      Cc: linux-stable <stable@vger.kernel.org> # >= v3.10
      1fa8455d
  2. 08 Nov, 2013 39 commits