diff options
author | Shiyang Ruan <[email protected]> | 2022-12-01 15:28:54 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-12-11 18:12:16 -0800 |
commit | c6f0b395b2110aa26a134a9a395875b1ec0a5aae (patch) | |
tree | 64ca3a7ffebef5aeb3f4c683875e7e485bdcd114 /lib/mpi/mpiutil.c | |
parent | 708dfad2eb4169324189782edd6d3763237e0489 (diff) |
fsdax,xfs: set the shared flag when file extent is shared
If a dax page is shared, mapread at different offsets can also trigger
page fault on same dax page. So, change the flag from "cow" to "shared".
And get the shared flag from filesystem when read.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Shiyang Ruan <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: John Hubbard <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions