]> git.baikalelectronics.ru Git - kernel.git/commit
backing-dev: bdi sb prune should be in the unregister path, not destroy
authorJens Axboe <jens.axboe@oracle.com>
Tue, 3 Nov 2009 19:18:44 +0000 (20:18 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 3 Nov 2009 19:18:44 +0000 (20:18 +0100)
commit819624d0d9f61d9d4a7084fa7c7f4ce9a7386e3c
tree59182683545e9ca548d0e17e52d6326bb24b44cf
parent0ee81e5e22a89d2b7a8262727d519d40a037e379
backing-dev: bdi sb prune should be in the unregister path, not destroy

Commit 2df49383e2e2a23cd6ee954d036a51d25728c60f 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: Artur Skawina <art.08.09@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
mm/backing-dev.c