diff options
author | Darrick J. Wong <[email protected]> | 2018-01-18 14:07:53 -0800 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2018-01-29 07:27:23 -0800 |
commit | 01c2e13dcae9757ea987af8933f9fcc6e33f2d7c (patch) | |
tree | 369b006ec50bc6d70de8a3085482e9bc49655068 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7c2d238ac6c435c07780a54719760da2beb46a43 (diff) |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions