aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-07-10 14:07:31 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-07-11 11:06:05 -0400
commit6eb3a1d096751bcdec8fd9d9bb565fa9cba5897f (patch)
tree35ce555fc466e8e206ba2d104fdc160a71fdd989 /tools/perf/scripts/python/export-to-postgresql.py
parentnfsd: shrink st_access_bmap and st_deny_bmap (diff)
downloadlinux-dev-6eb3a1d096751bcdec8fd9d9bb565fa9cba5897f.tar.xz
linux-dev-6eb3a1d096751bcdec8fd9d9bb565fa9cba5897f.zip
nfsd: set stateid access and deny bits in nfs4_get_vfs_file
Cleanup -- ensure that the stateid bits are set at the same time that the file access refcounts are incremented. Keeping them coherent like this makes it easier to ensure that we account for all of the references. Since the initialization of the st_*_bmap fields is done when it's hashed, we go ahead and hash the stateid before getting access to the file and unhash it if that function returns error. This will be necessary anyway in a follow-on patch that will overhaul deny mode handling. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions