linux-stable/fs/orangefs
Al Viro 78699e29fd orangefs: delay freeing slot until cancel completes
Make cancels reuse the aborted read/write op, to make sure they do not
fail on lack of memory.

Don't issue a cancel unless the daemon has seen our read/write, has not
replied and isn't being shut down.

If cancel *is* issued, don't wait for it to complete; stash the slot
in there and just have it freed when cancel is finally replied to or
purged (and delay dropping the reference until then, obviously).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
2016-02-19 13:45:53 -05:00
..
acl.c Orangefs: change pvfs2 filenames to orangefs 2015-12-04 12:56:14 -05:00
dcache.c orangefs: Implement inode_operations->permission(). 2016-02-04 14:12:37 -05:00
devorangefs-req.c orangefs: delay freeing slot until cancel completes 2016-02-19 13:45:53 -05:00
dir.c Orangefs: add verification to decode_dirents 2016-01-15 13:10:52 -05:00
downcall.h OrangeFS: Change almost all instances of the string PVFS2 to OrangeFS. 2015-12-03 14:45:44 -05:00
file.c orangefs: delay freeing slot until cancel completes 2016-02-19 13:45:53 -05:00
inode.c orangefs: Do not retrieve size from servers unless it it necessary. 2016-02-04 14:12:43 -05:00
Kconfig Orangefs: kernel client part 7 2015-10-03 11:40:00 -04:00
Makefile Orangefs: change pvfs2 filenames to orangefs 2015-12-04 12:56:14 -05:00
namei.c orangefs: Implement inode_operations->permission(). 2016-02-04 14:12:37 -05:00
orangefs-bufmap.c get rid of bufmap argument of orangefs_bufmap_put() 2016-02-12 15:05:33 -05:00
orangefs-bufmap.h get rid of bufmap argument of orangefs_bufmap_put() 2016-02-12 15:05:33 -05:00
orangefs-cache.c orangefs: delay freeing slot until cancel completes 2016-02-19 13:45:53 -05:00
orangefs-debug.h Orangef: remove overlooked old-style userspace debug parts 2015-12-11 11:00:12 -05:00
orangefs-debugfs.c Orangefs: use kzalloc for kmalloc + memset 0 2015-12-28 10:30:51 -05:00
orangefs-debugfs.h Orangefs: change pvfs2 filenames to orangefs 2015-12-04 12:56:14 -05:00
orangefs-dev-proto.h orangefs: Fix some more global namespace pollution. 2016-01-04 16:21:46 -05:00
orangefs-kernel.h orangefs: delay freeing slot until cancel completes 2016-02-19 13:45:53 -05:00
orangefs-mod.c orangefs: delay freeing slot until cancel completes 2016-02-19 13:45:53 -05:00
orangefs-sysfs.c orangefs: hopefully saner op refcounting and locking 2016-01-23 13:03:12 -05:00
orangefs-sysfs.h Orangefs: change pvfs2 filenames to orangefs 2015-12-04 12:56:14 -05:00
orangefs-utils.c orangefs: delay freeing slot until cancel completes 2016-02-19 13:45:53 -05:00
protocol.h orangefs: Implement inode_operations->permission(). 2016-02-04 14:12:37 -05:00
super.c Orangefs: clean up slab allocation. 2016-02-04 13:48:16 -05:00
symlink.c orangefs: Implement inode_operations->permission(). 2016-02-04 14:12:37 -05:00
upcall.h OrangeFS: Change almost all instances of the string PVFS2 to OrangeFS. 2015-12-03 14:45:44 -05:00
waitqueue.c orangefs: delay freeing slot until cancel completes 2016-02-19 13:45:53 -05:00
xattr.c Orangefs: validate resp.listxattr.returned_count 2015-12-17 16:11:40 -05:00