diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-12-11 18:39:41 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-11 18:39:41 -0700 |
commit | b2dbff1bb893d5dfdf501231ff5505ca10cdede3 (patch) | |
tree | 52f74b5b06c2ba8fbfb6f3cd12e479c869572afa /block | |
parent | 2c4d5356e64d7d538f24c23045478330fae4a065 (diff) | |
download | linux-stable-b2dbff1bb893d5dfdf501231ff5505ca10cdede3.tar.gz linux-stable-b2dbff1bb893d5dfdf501231ff5505ca10cdede3.tar.bz2 linux-stable-b2dbff1bb893d5dfdf501231ff5505ca10cdede3.zip |
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')
0 files changed, 0 insertions, 0 deletions