diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-18 14:07:53 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-29 07:27:23 -0800 |
commit | 01c2e13dcae9757ea987af8933f9fcc6e33f2d7c (patch) | |
tree | 369b006ec50bc6d70de8a3085482e9bc49655068 /tools/pci | |
parent | 7c2d238ac6c435c07780a54719760da2beb46a43 (diff) | |
download | linux-01c2e13dcae9757ea987af8933f9fcc6e33f2d7c.tar.bz2 |
xfs: only grab shared inode locks for source file during reflink
Reflink and dedupe operations remap blocks from a source file into a
destination file. The destination file needs exclusive locks on all
levels because we're updating its block map, but the source file isn't
undergoing any block map changes so we can use a shared lock.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions