Whamcloud - gitweb
LU-10531 obd: handle case tgt equals fsname for obdname2fsname 37/30937/2
authorJames Simmons <uja.ornl@yahoo.com>
Fri, 19 Jan 2018 07:55:11 +0000 (02:55 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 31 Jan 2018 05:52:38 +0000 (05:52 +0000)
commitac01abc2db2e82f87061eb0e6b2c03e28dad6a5b
tree2e95d9a96d4103e041069191543593bcf6427903
parentbd3023bf147a661e00394ddee0efc2b2ac2f7887
LU-10531 obd: handle case tgt equals fsname for obdname2fsname

The function obdname2fsname() was updated to handle the case of
when tgt was for the format:

llite.lustre*.xattr_cache
llite.lustre-*.xattr_cache

but the case of tgt being exactly equal to the fsname is also
valid as in the case of sptlrpc: fsname.srpc.flavor.default.cli2ost

Change-Id: I9bb4082ee5f194842c7d72ae25e14f6998c0b8ed
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/30937
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/obd_mount.c
lustre/ptlrpc/sec_config.c