mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Merge pull request #47593 from lxbsz/wip-57126
client: abort the client if we couldn't invalidate dentry caches Reviewed-by: Rishabh Dave <ridave@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Kotresh HR <khiremat@redhat.com>
This commit is contained in:
commit
bc264a9812
@ -4589,7 +4589,10 @@ public:
|
||||
explicit C_Client_Remount(Client *c) : client(c) {}
|
||||
void finish(int r) override {
|
||||
ceph_assert(r == 0);
|
||||
client->_do_remount(true);
|
||||
auto result = client->_do_remount(true);
|
||||
if (result.second) {
|
||||
ceph_abort();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user