Matthew Wilcox (Oracle) 8fc75643c5 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.

[akpm@linux-foundation.org: export xas_split_alloc() to modules]
[willy@infradead.org: fix xarray split]
  Link: https://lkml.kernel.org/r/20200910175450.GV6583@casper.infradead.org
[willy@infradead.org: fix xarray]
  Link: https://lkml.kernel.org/r/20201001233943.GW20115@casper.infradead.org

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Qian Cai <cai@lca.pw>
Cc: Song Liu <songliubraving@fb.com>
Link: https://lkml.kernel.org/r/20200903183029.14930-3-willy@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-10-16 11:11:15 -07:00
..
2020-10-15 10:46:16 -07:00
2020-10-13 18:38:32 -07:00
2020-08-09 14:10:26 -07:00
2020-08-14 19:56:56 -07:00
2020-10-02 18:02:13 +10:00
2020-05-24 20:48:11 +02:00
2020-09-01 14:19:48 +02:00
2018-08-16 12:14:42 -07:00
2020-06-01 08:23:42 -04:00
2020-10-13 18:38:32 -07:00
2020-05-07 14:54:26 +08:00
2018-10-16 13:45:44 +02:00
2020-06-15 18:22:43 -07:00
2019-07-11 15:17:41 -07:00
2020-09-26 10:33:57 -07:00
2018-06-27 18:58:49 +03:00
2020-06-29 10:02:23 +02:00
2018-10-15 16:31:29 -04:00
2020-10-13 18:38:32 -07:00
2020-06-07 10:53:36 -07:00
2020-06-09 10:03:12 -07:00
2020-10-16 11:11:15 -07:00
2020-06-04 19:06:28 -07:00
2020-10-16 11:11:15 -07:00