mirror of
https://github.com/ceph/ceph
synced 2025-01-15 15:32:45 +00:00
mds: avoid issuing zero caps to client
make sure CEPH_CAP_PIN exists in stale caps. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
This commit is contained in:
parent
e909eaf203
commit
ed30b83a9a
@ -311,7 +311,7 @@ public:
|
||||
issue(newpending);
|
||||
last_issue_stamp = other.last_issue_stamp;
|
||||
} else {
|
||||
inc_last_seq();
|
||||
issue(CEPH_CAP_PIN);
|
||||
}
|
||||
|
||||
client_follows = other.client_follows;
|
||||
@ -330,7 +330,7 @@ public:
|
||||
else
|
||||
issue(newpending);
|
||||
} else {
|
||||
inc_last_seq();
|
||||
issue(CEPH_CAP_PIN);
|
||||
}
|
||||
|
||||
// wanted
|
||||
|
Loading…
Reference in New Issue
Block a user