Whamcloud - gitweb
LU-13680 osd-ldiskfs: handle large allocations 43/38943/4
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 15 Jun 2020 19:46:07 +0000 (13:46 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 4 Jul 2020 03:04:29 +0000 (03:04 +0000)
commitbbb14d40a4be6a9172b80ed3208f81be2f1d1b66
tree43d38028667d548e113955eae4d0649e712b75c2
parent57bb3024613831d5d7f8f085bb0c7ebc33796790
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.

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-on: https://review.whamcloud.com/38943
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_io.c