commit | 8fc75643c5e14574c8be59b69182452ece28315a | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <[email protected]> | Thu Oct 15 20:05:16 2020 -0700 |
committer | Linus Torvalds <[email protected]> | Fri Oct 16 11:11:15 2020 -0700 |
tree | ba7aee8173a06125d30d5faff3a4d8ba69e7a78a | |
parent | 57417cebc96b57122a2207fc84a6077d20c84b4b [diff] |
XArray: add xas_split In order to use multi-index entries for huge pages in the page cache, we need to be able to split a multi-index entry (eg if a file is truncated in the middle of a huge page entry). This version does not support splitting more than one level of the tree at a time. This is an acceptable limitation for the page cache as we do not expect to support order-12 pages in the near future. [[email protected]: export xas_split_alloc() to modules] [[email protected]: fix xarray split] Link: https://lkml.kernel.org/r/[email protected] [[email protected]: fix xarray] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: "Kirill A . Shutemov" <[email protected]> Cc: Qian Cai <[email protected]> Cc: Song Liu <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>