X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fllite%2Ffile.c;h=d2c7bb2a8dc78a7f3bcd85eea20fb1791635bb65;hp=7107e8179888e610646bf81741b1eabf4bad09e3;hb=999a8f1f0f9ab1a47843b4fa24ff88e5afd894b2;hpb=b243f9c5f447aaa446f11133b2c649e877678825;ds=sidebyside diff --git a/lustre/llite/file.c b/lustre/llite/file.c index 7107e81..d2c7bb2 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -2168,6 +2168,9 @@ int __ll_inode_revalidate_it(struct dentry *dentry, struct lookup_intent *it, exp = ll_i2mdexp(inode); + /* XXX: Enable OBD_CONNECT_ATTRFID to reduce unnecessary getattr RPC. + * But under CMD case, it caused some lock issues, should be fixed + * with new CMD ibits lock. See bug 12718 */ if (exp->exp_connect_flags & OBD_CONNECT_ATTRFID) { struct lookup_intent oit = { .it_op = IT_GETATTR }; struct md_op_data *op_data;