diff options
author | 2022-06-03 13:37:38 +0800 | |
---|---|---|
committer | 2022-07-17 17:14:32 -0700 | |
commit | 13f9e267fdbba30820ce3999338b7d8fe7d6bf77 (patch) | |
tree | 30649913cb337715b8fdd796f658f3720732f32b /mm/huge_memory.c | |
parent | xfs: support CoW in fsdax mode (diff) | |
download | linux-13f9e267fdbba30820ce3999338b7d8fe7d6bf77.tar.gz linux-13f9e267fdbba30820ce3999338b7d8fe7d6bf77.tar.bz2 linux-13f9e267fdbba30820ce3999338b7d8fe7d6bf77.zip |
xfs: add dax dedupe support
Introduce xfs_mmaplock_two_inodes_and_break_dax_layout() for dax files who
are going to be deduped. After that, call compare range function only
when files are both DAX or not.
Link: https://lkml.kernel.org/r/20220603053738.1218681-15-ruansy.fnst@fujitsu.com
Signed-off-by: Shiyang Ruan <ruansy.fnst@fujitsu.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Dan Williams <dan.j.wiliams@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Goldwyn Rodrigues <rgoldwyn@suse.com>
Cc: Goldwyn Rodrigues <rgoldwyn@suse.de>
Cc: Jane Chu <jane.chu@oracle.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Ritesh Harjani <riteshh@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions