Home
last modified time | relevance | path

Searched hist:"7 c2d238ac6c435c07780a54719760da2beb46a43" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/xfs/
H A Dxfs_reflink.cdiff 7c2d238ac6c435c07780a54719760da2beb46a43 Fri Jan 26 17:27:33 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>
H A Dxfs_bmap_util.cdiff 7c2d238ac6c435c07780a54719760da2beb46a43 Fri Jan 26 17:27:33 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>
H A Dxfs_inode.hdiff 7c2d238ac6c435c07780a54719760da2beb46a43 Fri Jan 26 17:27:33 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>
H A Dxfs_inode.cdiff 7c2d238ac6c435c07780a54719760da2beb46a43 Fri Jan 26 17:27:33 CST 2018 Darrick J. Wong <darrick.wong@oracle.com> 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>