diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-07-13 21:49:50 -0700 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2018-07-20 11:21:15 -0700 |
commit | 73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc (patch) | |
tree | 85bd2833a059be2a911f632871666f2f10059c80 /mm | |
parent | 35de299547d1c3300e078f9f7c6eb01dadae47f9 (diff) | |
download | linux-stable-73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc.tar.gz linux-stable-73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc.tar.bz2 linux-stable-73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc.zip |
filesystem-dax: Set page->index
In support of enabling memory_failure() handling for filesystem-dax
mappings, set ->index to the pgoff of the page. The rmap implementation
requires ->index to bound the search through the vma interval tree. The
index is set and cleared at dax_associate_entry() and
dax_disassociate_entry() time respectively.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions