Whamcloud - gitweb
LU-515 canonicalize the devices names
authorWally Wang <wang@cray.com>
Wed, 20 Jul 2011 03:50:18 +0000 (20:50 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 18 Oct 2011 15:56:48 +0000 (11:56 -0400)
commitf14d2b5feae5213ed243fb63702aa1eed7e0a8b1
treef20d629ef433f8405de0564509b3581573ef4b26
parenta08b190a278e952e1c303eb49233b542189656e6
LU-515 canonicalize the devices names

Perform a readlink on the device name if path is /dev/disk/by-id...
See Oracle bug 24487.

Change-Id: I964b224d764677d60064901f4238ae77b9cfb5ea
Signed-off-by: Wally Wang <wang@cray.com>
Signed-off-by: Niu Yawei <niu@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1120
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Li Wei <liwei@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre-iokit/sgpdd-survey/sgpdd-survey