Whamcloud - gitweb
b=19689
authorbrian <brian>
Thu, 10 Dec 2009 12:59:39 +0000 (12:59 +0000)
committerbrian <brian>
Thu, 10 Dec 2009 12:59:39 +0000 (12:59 +0000)
commit1325bd7cc6f1a41cbeb4fc9588cb4727a8a442ac
tree7ee82bb64e93e7c3b636a91e532fd7f26f78c290
parentd753c060099e12655344fc461e4b6f7142b3b5a1
b=19689
i=adilger
i=bobijam
i=nathan
o=Jim Garlick

Change tunefs.lustre and mkfs.lustre --mountfsoptions so that
exactly the specified mount options are used.
Leaving off any "mandatory" mount options is an error.
Leaving off any default mount options causes a warning, but is allowed.
Change errors=remount-ro from mandatory to default.
Sanitize the mount string before storing it.
Update man pages accordingly.

This hopefully makes two awkward situations less so:
- making errors=panic the default (before we had to append errors=remount-ro
  and hope ldiskfs parsing caused the last option to override the first)
- setting other mount options on the OST's dropped mballoc,extents
  without warning.
lustre/doc/mkfs.lustre.8
lustre/doc/tunefs.lustre.8
lustre/tests/cfg/local.sh
lustre/utils/mkfs_lustre.c