diff options
author | Dan Williams <[email protected]> | 2018-03-12 14:12:29 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2018-05-22 07:19:08 -0700 |
commit | c63a8eae63d3859c9c7067aa239a4cfd7423a665 (patch) | |
tree | 0dd8ab3bd054ac8171bc46b8a7e31d3261b1c629 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5fac7408d828719db6d3fdba63e3c3726a6d1ee5 (diff) |
xfs: prepare xfs_break_layouts() to be called with XFS_MMAPLOCK_EXCL
In preparation for adding coordination between extent unmap operations
and busy dax-pages, update xfs_break_layouts() to permit it to be called
with the mmap lock held. This lock scheme will be required for
coordinating the break of 'dax layouts' (non-idle dax (ZONE_DEVICE)
pages mapped into the file's address space). Breaking dax layouts will
be added to xfs_break_layouts() in a future patch, for now this preps
the unmap call sites to take and hold XFS_MMAPLOCK_EXCL over the call to
xfs_break_layouts().
Cc: "Darrick J. Wong" <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Dave Chinner <[email protected]>
Suggested-by: Christoph Hellwig <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions