diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-11-10 21:55:27 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 11:05:38 -0800 |
commit | a8ffbb939c4e4d630b0c2155e6703a64da040556 (patch) | |
tree | 02fbd809d3b1299dcb2b73366a36253f09e5b67d /fs/cifs | |
parent | b5cdb8f6a8a0eacdd8b64a8d22ff0243d854d2f1 (diff) |
bcache: Fix dirty_data accounting
commit 1fa8455deb92e9ec7756df23030e73b2d28eeca7 upstream.
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: Kent Overstreet <kmo@daterainc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/cifs')
0 files changed, 0 insertions, 0 deletions