diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-19 09:27:29 +0300 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-02-21 09:06:55 +0300 |
commit | ee13fc67205b989c93c89a4800a4b1c84e448dde (patch) | |
tree | 5e20392b59073d95ea604378348af4ad2d304d3a /Documentation/filesystems | |
parent | b2fdfe19dfd70ba047ab720eb52f00651ef8a5cd (diff) | |
download | linux-ee13fc67205b989c93c89a4800a4b1c84e448dde.tar.xz |
xfs: convert xfarray_pagesort to deal with large folios
Convert xfarray_pagesort to handle large folios by introducing a new
xfile_get_folio routine that can return a folio of arbitrary size, and
using heapsort on the full folio. This also corrects an off-by-one bug
in the calculation of len in xfarray_pagesort that was papered over by
xfarray_want_pagesort.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions