ms-nfs41-client/daemon
Casey Bodley d7e438be5e pnfs: only return-on-close for last close
added pnfs_layout.open_count to count open references, and only return the layout when pnfs_open_state_close() takes the open_count to 0

use InterlockedIncrement/Decrement to avoid an exclusive lock on the layout

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
2011-03-08 11:04:43 -05:00
..
callback_server.c callback: handles xdr decode errors 2011-01-10 15:16:18 -05:00
callback_xdr.c fresh git tree for public release 2010-10-12 10:15:48 -04:00
daemon_debug.c adding sec flavor to upcall 2010-12-02 14:22:05 -05:00
daemon_debug.h adding sec flavor to upcall 2010-12-02 14:22:05 -05:00
from_kernel.h volume: daemon handles FileFsAttributeInformation 2010-10-12 10:35:51 -04:00
getattr.c ref counting for nfs41_root 2010-10-27 16:18:23 -04:00
idmap.c adding --noldap startup option 2010-12-02 17:43:12 -05:00
idmap.h idmap.c for ldap caching and configuration 2010-11-08 12:54:40 -05:00
list.h fresh git tree for public release 2010-10-12 10:15:48 -04:00
lock.c recovery: use normal OPEN/LOCK on ERR_NO_GRACE 2010-12-06 14:29:32 -05:00
lookup.c cosmetic changes to lookup.c 2011-01-10 15:16:17 -05:00
makefile fresh git tree for public release 2010-10-12 10:15:48 -04:00
mount.c mount: memory leak on path overflow 2011-01-10 15:16:17 -05:00
name_cache.c fixing rbtree patch 2010-12-07 16:50:45 -05:00
name_cache.h name cache: insert supports negative entries 2010-10-12 10:35:43 -04:00
namespace.c memory leak in nfs41_root_create 2010-12-02 14:22:06 -05:00
nfs41.h cosmetic: removed unused nfs41_renew_in_progress() 2011-03-08 11:04:40 -05:00
nfs41_callback.h fresh git tree for public release 2010-10-12 10:15:48 -04:00
nfs41_client.c propagate errors from nfs41_name_cache_create() 2011-01-10 15:16:17 -05:00
nfs41_compound.c recovery: recover from BAD_STATEID errors 2011-03-08 11:04:38 -05:00
nfs41_compound.h recovery: avoid recursive state recovery 2010-12-06 14:29:01 -05:00
nfs41_const.h cosmetic: remove ; from #define 2011-03-08 11:04:39 -05:00
nfs41_daemon.c fix warnings for parse_cmdlineargs() 2010-12-10 14:51:44 -05:00
nfs41_ops.c fixes for bind_conn_to_session() 2011-01-12 12:40:39 -05:00
nfs41_ops.h create_session uses compound_encode_send_decode() 2011-01-10 15:16:17 -05:00
nfs41_rpc.c check for null client session before BIND_CONN 2011-03-08 11:04:42 -05:00
nfs41_server.c propagate errors from nfs41_name_cache_create() 2011-01-10 15:16:17 -05:00
nfs41_session.c turning callback off for krb5p 2011-02-03 13:13:10 -05:00
nfs41_superblock.c cosmetic: cleaning up small functions 2010-11-05 15:10:20 -04:00
nfs41_types.h pnfs: support for mdsthreshold attribute 2011-03-08 11:04:41 -05:00
nfs41_xdr.c pnfs: support for mdsthreshold attribute 2011-03-08 11:04:41 -05:00
nfs41_xdr.h fresh git tree for public release 2010-10-12 10:15:48 -04:00
open.c cosmetic changing printouts in check_execute_access 2011-01-13 11:41:49 -05:00
pnfs.h pnfs: only return-on-close for last close 2011-03-08 11:04:43 -05:00
pnfs_debug.c fresh git tree for public release 2010-10-12 10:15:48 -04:00
pnfs_device.c pnfs: revoke device info on bulk layout recall 2011-01-04 14:26:26 -05:00
pnfs_io.c pnfs: revoke device info on bulk layout recall 2011-01-04 14:26:26 -05:00
pnfs_layout.c pnfs: only return-on-close for last close 2011-03-08 11:04:43 -05:00
readdir.c fix for warning C4204: non-constant aggregate initializer 2010-11-08 12:29:47 -05:00
readwrite.c recovery: operations take stateid_arg instead of stateid4 2010-12-06 14:21:28 -05:00
service.c warnings from WDK 6000 2010-10-19 11:17:29 -04:00
service.h first stab at nfsd as a service 2010-10-12 10:36:03 -04:00
setattr.c minor changes 2010-12-10 11:39:28 -05:00
sources idmap.c for ldap caching and configuration 2010-11-08 12:54:40 -05:00
symlink.c ref counting for nfs41_root 2010-10-27 16:18:23 -04:00
tree.h replace rbtree implementation with tree.h from freebsd 2010-12-01 10:25:29 -05:00
upcall.c fix for daemon version checking crash on close 2010-12-17 14:26:17 -05:00
upcall.h volume: use actual fh instead of rootfh for volume queries 2011-03-08 11:04:40 -05:00
util.c recovery: use normal OPEN/LOCK on ERR_NO_GRACE 2010-12-06 14:29:32 -05:00
util.h adding version to the upcall 2010-11-08 12:54:42 -05:00
volume.c volume: use actual fh instead of rootfh for volume queries 2011-03-08 11:04:40 -05:00