summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Perepechko <andrew_perepechko@xyratex.com>2014-02-09 11:51:48 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-12 00:09:58 +0400
commite93a3082fc30dd648989f0986e482e0c914a502c (patch)
tree1610b2c0fe88b56320518847404ddc0693e3867d /include/linux
parent08a78a27e1693ca1cf5a11e41d7a374d7b14a2fd (diff)
downloadlinux-e93a3082fc30dd648989f0986e482e0c914a502c.tar.xz
lustre/xattr: separate ACL and XATTR caches
This patch separates ACL and XATTR caches, so that when updating an ACL only LOOKUP lock is needed and when updating another XATTR only XATTR lock is needed. This patch also reverts XATTR cache support for setxattr because client performing REINT under even PR lock will deadlock if an active server operation (like unlink) attempts to cancel all locks, and setxattr has to wait for it (MDC max-in-flight is 1). This patch disables the r/o cache if the data is unreasonably large (larger than maximum single EA size). Signed-off-by: Andrew Perepechko <andrew_perepechko@xyratex.com> Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com> Reviewed-on: http://review.whamcloud.com/7208 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3669 Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: John L. Hammond <john.hammond@intel.com> Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions