[PATCH v2 0/4] ceph: account for name and fsid in new device spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Changes since v1:
* Changed my email address, since I have graduated from university.
* A slightly more efficient `strstrn_equals' implementation.
* Make the mismatching error message more clear.
* As suggested by Ilya, rewrite patch 3. Now it does not touch code in
  net/ceph, I now allow options to be overridable, and check the device
  spec is consistent with the final resolved options.
* Added patch 4.

Hu Weiwen (4):
  ceph: refactor mds_namespace comparing
  ceph: save name and fsid in mount source
  ceph: delay parsing of source after all options
  ceph: allow mds_namespace to appear multiple times

 fs/ceph/super.c | 68 ++++++++++++++++++++++++++++---------------------
 1 file changed, 39 insertions(+), 29 deletions(-)

-- 
2.25.1




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux