Whamcloud - gitweb
LU-478 Set tunables on lvm device
authorNiu Yawei <niu@whamcloud.com>
Thu, 29 Sep 2011 10:25:02 +0000 (03:25 -0700)
committerJohann Lombardi <johann@whamcloud.com>
Thu, 29 Sep 2011 12:01:37 +0000 (08:01 -0400)
commiteb7f696475ff529ae27d49bdedd0ba9f249588b2
treeb598cc9020b9bb3ed9b4cf4cca1ccab0299bd1b6
parent447794d5ebb71dbd39d7378944c3c9eeb230f8d0
LU-478 Set tunables on lvm device

- The set_blockdev_tunables() shouldn't chop the tail digit on
  the /dev/mapper/xxx device.
- Sometimes, the /sys/block/dm-x doesn't have the max_[hw]_sectors_kb,
  such errors should be tolerated.

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: I3c3737be561302adc93ab699701649e71c0c1321
Reviewed-on: http://review.whamcloud.com/1439
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/utils/mount_lustre.c