summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorwang di <di.wang@intel.com>2014-04-27 13:07:04 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-27 10:31:00 -0700
commit2c5808367ca0646d013a5f8b6882c737c5b930f9 (patch)
tree5339b954b5d2c9d2bf54991e754b51311f8d5a26 /include/uapi/linux
parent8d67c821d96c8cfaa2ae05f346f1b2a07f0c15ec (diff)
staging/lustre/mdc: use cl_max_mds_md to pack getattr RPC
In some cases, cl_default_mds_easize might be zero, especially for MDC connected to non-MDT0, then mdc might pack getattr RPC with zero eadatasize. If client is trying to access remote striped directory with zero eadatasize, MDT will not return layout information of the striped direcotry, which will be mis-regarded as non-striped directory. So we should use cl_max_mds_easize if cl_default_mds_easize is zero. Signed-off-by: wang di <di.wang@intel.com> Reviewed-on: http://review.whamcloud.com/9862 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4847 Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions