summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFan Yong <fan.yong@intel.com>2017-07-26 18:22:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-30 18:08:31 +0300
commit7da5e8900f04fc651af855170de144e9cd73dd65 (patch)
tree0f1d35847c741a4d4adea6c727e3fa5e1b59599b /include
parent380b33b8ca167d8ae98bc33b70aafc41e881dd1e (diff)
downloadlinux-7da5e8900f04fc651af855170de144e9cd73dd65.tar.xz
staging: lustre: linkea: linkEA size limitation
Under DNE mode, if we do not restrict the linkEA size, and if there are too many cross-MDTs hard links to the same object, then it will cause the llog overflow. On the other hand, too many linkEA entries in the linkEA will serious affect the linkEA performance because we only support to locate linkEA entry consecutively. So we need to restrict the linkEA size. Currently, it is 4096 bytes, that is independent from the backend. If too many hard links caused the linkEA overflowed, we will add overflow timestamp in the linkEA header. Signed-off-by: Fan Yong <fan.yong@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8569 Reviewed-on: https://review.whamcloud.com/23500 Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: wangdi <di.wang@intel.com> Reviewed-by: Lai Siyao <lai.siyao@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions