From aceb6ff36371416c6f6ddb13dedf940956f25e5e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 19 Mar 2009 11:17:42 -0700 Subject: [PATCH] Revert "mds: make CAP_FILE_RD expireable" This reverts commit 05752278d46fe5776d54d3b58f8c8a88e67a2179. Caused dbench performance regression.. everything got all slow! --- src/include/ceph_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/ceph_fs.h b/src/include/ceph_fs.h index c0e67d0fcea3f..d3a8cd3f15e80 100644 --- a/src/include/ceph_fs.h +++ b/src/include/ceph_fs.h @@ -1003,7 +1003,7 @@ static inline int ceph_flags_to_mode(int flags) * these cap bits time out, if no others are held and nothing is * registered as 'wanted' by the client. */ -#define CEPH_CAP_EXPIREABLE (CEPH_CAP_PIN|CEPH_CAP_ANY_RDCACHE|CEPH_CAP_FILE_RD) +#define CEPH_CAP_EXPIREABLE (CEPH_CAP_PIN|CEPH_CAP_ANY_RDCACHE) static inline int ceph_caps_for_mode(int mode) { -- 2.39.5