]> git.baikalelectronics.ru Git - kernel.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)
commit783eba5758e7699634a402eaa668d5c812b203c5
tree2bfe433ce2aaff445860eaf9bd009464ecafa2a3
parenteba4599087fc09b4a59e131b01901af9fa6bc0dd
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