diff options
author | 2018-01-26 15:27:33 -0800 | |
---|---|---|
committer | 2018-01-29 07:27:23 -0800 | |
commit | 7c2d238ac6c435c07780a54719760da2beb46a43 (patch) | |
tree | 5ab9c30472ad7bff9ec2ab665ab16ee4f099e76d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xfs: reflink should break pnfs leases before sharing blocks (diff) | |
download | linux-dev-7c2d238ac6c435c07780a54719760da2beb46a43.tar.xz linux-dev-7c2d238ac6c435c07780a54719760da2beb46a43.zip |
xfs: allow xfs_lock_two_inodes to take different EXCL/SHARED modes
Refactor xfs_lock_two_inodes to take separate locking modes for each
inode. Specifically, this enables us to take a SHARED lock on one inode
and an EXCL lock on the other. The lock class (MMAPLOCK/ILOCK) must be
the same for each inode.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions