mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ceph: avoid immediate cap check after import
The NODELAY flag avoids the heuristics that delay cap (issued/wanted) release. There's no reason for that after we import a cap, and it kills whatever benefit we get from those delays. Signed-off-by: Sage Weil <[email protected]>
This commit is contained in:
parent
088b3f5e9e
commit
7e57b81c76
1 changed files with 1 additions and 2 deletions
|
|
@ -2817,8 +2817,7 @@ void ceph_handle_caps(struct ceph_mds_session *session,
|
|||
case CEPH_CAP_OP_IMPORT:
|
||||
handle_cap_import(mdsc, inode, h, session,
|
||||
snaptrace, snaptrace_len);
|
||||
ceph_check_caps(ceph_inode(inode), CHECK_CAPS_NODELAY,
|
||||
session);
|
||||
ceph_check_caps(ceph_inode(inode), 0, session);
|
||||
goto done_unlocked;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue