summaryrefslogtreecommitdiffstats
path: root/block/blk-stat.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-12-11 18:39:41 -0700
committerJens Axboe <axboe@kernel.dk>2018-12-11 18:39:41 -0700
commitb2dbff1bb893d5dfdf501231ff5505ca10cdede3 (patch)
tree52f74b5b06c2ba8fbfb6f3cd12e479c869572afa /block/blk-stat.h
parent2c4d5356e64d7d538f24c23045478330fae4a065 (diff)
downloadlinux-b2dbff1bb893d5dfdf501231ff5505ca10cdede3.tar.bz2
sbitmap: flush deferred clears for resize and shallow gets
We're missing a deferred clear off the shallow get, which can cause a hang. Additionally, when we resize the sbitmap, we should also flush deferred clears for good measure. Ensure we have full coverage on batch clears, even for paths where we would not be doing deferred clear. This makes it less error prone for future additions. Reported-by: Bart Van Assche <bvanassche@acm.org> Tested-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-stat.h')
0 files changed, 0 insertions, 0 deletions