Skip to content
Snippets Groups Projects
Commit 17fb330a authored by Liu Ying's avatar Liu Ying
Browse files

Branch b1_6

b=12769
i=green,wangdi

Add sync option to mount_lustre.c
parent bca685c7
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,11 @@ Description: omit set fsid for export NFS ...@@ -45,6 +45,11 @@ Description: omit set fsid for export NFS
Details : fix set/restore device id for avoid EMFILE error and mark lustre fs Details : fix set/restore device id for avoid EMFILE error and mark lustre fs
as FS_REQUIRES_DEV for avoid problems with generate fsid. as FS_REQUIRES_DEV for avoid problems with generate fsid.
Severity : major
Bugzilla : 12769
Description: Add sync option to mount_lustre.c
Details : Client loses data written to lustre after a network interruption.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
2007-07-30 Cluster File Systems, Inc. <info@clusterfs.com> 2007-07-30 Cluster File Systems, Inc. <info@clusterfs.com>
......
...@@ -182,6 +182,7 @@ static const struct opt_map opt_map[] = { ...@@ -182,6 +182,7 @@ static const struct opt_map opt_map[] = {
{ "nosuid", 0, MS_NOSUID }, /* don't honor suid executables */ { "nosuid", 0, MS_NOSUID }, /* don't honor suid executables */
{ "dev", 1, MS_NODEV }, /* interpret device files */ { "dev", 1, MS_NODEV }, /* interpret device files */
{ "nodev", 0, MS_NODEV }, /* don't interpret devices */ { "nodev", 0, MS_NODEV }, /* don't interpret devices */
{ "sync", 0, MS_SYNCHRONOUS}, /* synchronous I/O */
{ "async", 1, MS_SYNCHRONOUS}, /* asynchronous I/O */ { "async", 1, MS_SYNCHRONOUS}, /* asynchronous I/O */
{ "auto", 0, 0 }, /* Can be mounted using -a */ { "auto", 0, 0 }, /* Can be mounted using -a */
{ "noauto", 0, 0 }, /* Can only be mounted explicitly */ { "noauto", 0, 0 }, /* Can only be mounted explicitly */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment