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-5549 mdc: cl_default_mds_easize not refreshed
[fs/lustre-release.git]
/
lustre
/
llite
/
llite_lib.c
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
f0ee6b0
..
7d332ab
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-692,7
+692,8
@@
int ll_set_default_mdsize(struct ll_sb_info *sbi, int lmmsize)
{
int rc;
{
int rc;
- if (lmmsize < sizeof(struct lov_mds_md) || lmmsize > PAGE_CACHE_SIZE)
+ if (lmmsize < sizeof(struct lov_mds_md) ||
+ lmmsize > OBD_MAX_DEFAULT_EA_SIZE)
return -EINVAL;
rc = obd_set_info_async(NULL, sbi->ll_md_exp,
return -EINVAL;
rc = obd_set_info_async(NULL, sbi->ll_md_exp,