On 5/8/23 01:53, Hu Weiwen wrote:
From: Hu Weiwen <sehuww@xxxxxxxxxxxxxxxx> We have name and fsid in the new device spec format, but kernel just discard them. Instead of relying on the mount.ceph helper, we should do this directly in kernel to ensure the options and device spec are consistent. And also avoid any confusion. Hu Weiwen (3): ceph: refactor mds_namespace comparing ceph: save name and fsid in mount source libceph: reject mismatching name and fsid fs/ceph/super.c | 51 +++++++++++++++++++++++++----------------- net/ceph/ceph_common.c | 26 ++++++++++++++++----- 2 files changed, 52 insertions(+), 25 deletions(-)
Will apply this patch series to the testing branch and run the test. Thanks Weiwen - Xiubo