mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
os/bluestore: adds assert for device mounted before expand
Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
This commit is contained in:
parent
5962c7e8e9
commit
8d1dadb90c
@ -9267,6 +9267,7 @@ int BlueStore::expand_devices(ostream& out)
|
||||
<< std::dec << "(" << byte_u_t(size) << ")"
|
||||
<< std::endl;
|
||||
}
|
||||
ceph_assert(mounted);
|
||||
bluefs->expand_device(devid, size, old_size);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user