Skip to content
Commit 8c4db335 authored by Jens Axboe's avatar Jens Axboe
Browse files

backing-dev: bdi sb prune should be in the unregister path, not destroy



Commit 592b09a4 was different from
the tested path, in that it moved the bdi super_block prune from
unregister to destroy context. This doesn't fully fix the sync hang
bug on unexpected device removal, as need to prune the bdi cache
pointer before killing flusher thread.

Tested-by: default avatarArtur Skawina <art.08.09@gmail.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 5f04eeb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment