summaryrefslogtreecommitdiffstats
path: root/fs/ntfs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2015-11-29 18:47:01 -0800
committerJens Axboe <axboe@fb.com>2015-12-30 20:23:16 -0700
commit627ccd20b4ad3ba836472468208e2ac4dfadbf03 (patch)
treea784e113c005e53ba3d86f27c3f9a0c59bd55de6 /fs/ntfs
parent8d16ce540c94c9d366eb36fc91b7154d92d6397b (diff)
downloadop-kernel-dev-627ccd20b4ad3ba836472468208e2ac4dfadbf03.zip
op-kernel-dev-627ccd20b4ad3ba836472468208e2ac4dfadbf03.tar.gz
bcache: Change refill_dirty() to always scan entire disk if necessary
Previously, it would only scan the entire disk if it was starting from the very start of the disk - i.e. if the previous scan got to the end. This was broken by refill_full_stripes(), which updates last_scanned so that refill_dirty was never triggering the searched_from_start path. But if we change refill_dirty() to always scan the entire disk if necessary, regardless of what last_scanned was, the code gets cleaner and we fix that bug too. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/ntfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud