]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fuse: add req flag for private list
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:26:06 +0000 (16:26 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:26:06 +0000 (16:26 +0200)
commit77cd9d488b32d19be852ad4d310ef13701557d61
tree2bfe433ce2aaff445860eaf9bd009464ecafa2a3
parent45a91cb1a4fd9bb0e53c95e3dc9185dd5b5ba245
fuse: add req flag for private list

When an unlocked request is aborted, it is moved from fpq->io to a private
list.  Then, after unlocking fpq->lock, the private list is processed and
the requests are finished off.

To protect the private list, we need to mark the request with a flag, so if
in the meantime the request is unlocked the list is not corrupted.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Ashish Samant <ashish.samant@oracle.com>
fs/fuse/dev.c
fs/fuse/fuse_i.h