Whamcloud - gitweb
LU-13680 osd-ldiskfs: handle large allocations 78/49478/2
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 15 Jun 2020 19:46:07 +0000 (13:46 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 27 Feb 2024 05:43:42 +0000 (05:43 +0000)
commit05219f018167fd2731255e56fd72b078958af639
tree05683f04b1763f529c396a55815f14547a50d492
parent78e1aecd5305fe76c093421fd192b3df853ff0f6
LU-13680 osd-ldiskfs: handle large allocations

Use OBD_ALLOC_PAGE_ARRAY_LARGE() for oti_dio_pages, as this allocation
can be as large as 512KB due to large PTLRPC_MAX_BRW_PAGES.

Lustre-change: https://review.whamcloud.com/38943
Lustre-commit: bbb14d40a4be6a9172b80ed3208f81be2f1d1b66

Test-Parameters: trivial
Fixes: 72372486a5e9 ("LU-11347 osd: do not use pagecache for I/O")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I0a0557e42bb5db5612c78e6d9b87f366a23ebbe5
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Signed-off-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49478
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_io.c