Whamcloud - gitweb
LU-7718 utils: lfs getstripe does not work on bind mount 95/18195/3
authorvinayakswami hariharmath <vinayakswami.hariharmath@seagate.com>
Thu, 28 Jan 2016 08:08:04 +0000 (13:38 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 14 Mar 2016 02:39:27 +0000 (02:39 +0000)
commit7e41081c512afcb883582e9d9c24cd04e77d0b27
treee3eb7cdafa8575837fbef7526d6a5c9def2f82ad
parent54b8a86387539200fd214e0d4ee951cf7e772e5f
LU-7718 utils: lfs getstripe does not work on bind mount

As /etc/mtab does not list original mount type and fsname
of bind mount point, using /prc/mounts to list out the
properties of the original mount point of bind mount.

Signed-off-by: vinayakswami hariharmath <vinayakswami.hariharmath@seagate.com>
Change-Id: Icf3644303552d56ad4e336decc5fadca581ff358
Reviewed-on: http://review.whamcloud.com/18195
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/liblustreapi.c
lustre/utils/lustreapi_internal.h