Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-13680 osd-ldiskfs: handle large allocations
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_io.c
diff --git
a/lustre/osd-ldiskfs/osd_io.c
b/lustre/osd-ldiskfs/osd_io.c
index
7880dec
..
d40117c
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_io.c
+++ b/
lustre/osd-ldiskfs/osd_io.c
@@
-857,7
+857,8
@@
static int osd_bufs_get(const struct lu_env *env, struct dt_object *dt,
bypass_checks:
if (!cache && unlikely(!oti->oti_dio_pages)) {
- OBD_ALLOC_PTR_ARRAY(oti->oti_dio_pages, PTLRPC_MAX_BRW_PAGES);
+ OBD_ALLOC_PTR_ARRAY_LARGE(oti->oti_dio_pages,
+ PTLRPC_MAX_BRW_PAGES);
if (!oti->oti_dio_pages)
return -ENOMEM;
}