]> git.sesse.net Git - bcachefs-tools-debian/commit
Make userspace blkdev cleanup code more robust.
authorJustin Husted <sigstop@gmail.com>
Fri, 8 Nov 2019 02:58:32 +0000 (18:58 -0800)
committerJustin Husted <sigstop@gmail.com>
Fri, 8 Nov 2019 02:58:32 +0000 (18:58 -0800)
commit5337ad4a43aacaa1366072edddf6c67c88c476b1
treec7558855f7751729c65573d43eadb4eecf9399af
parent76e147d0a937d6df65491cc5c559c13d38b82d83
Make userspace blkdev cleanup code more robust.

The existing cleanup code would silently cancel disk IO requests, if
somehow the calling code did not wait for completion.  This code now
tracks requests and will bug if any are lost.

Signed-off-by: Justin Husted <sigstop@gmail.com>
linux/blkdev.c