Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
364c4073
Commit
364c4073
authored
Dec 18, 2003
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Add the noikeep mount option, make ikeep the default for now.
SGI Modid: 2.5.x-xfs:slinx:162621a
parent
3f69168f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vfsops.c
+7
-2
No files found.
fs/xfs/xfs_vfsops.c
View file @
364c4073
...
@@ -1598,8 +1598,9 @@ xfs_vget(
...
@@ -1598,8 +1598,9 @@ xfs_vget(
#define MNTOPT_NORECOVERY "norecovery"
/* don't run XFS recovery */
#define MNTOPT_NORECOVERY "norecovery"
/* don't run XFS recovery */
#define MNTOPT_NOLOGFLUSH "nologflush"
/* don't hard flush on log writes */
#define MNTOPT_NOLOGFLUSH "nologflush"
/* don't hard flush on log writes */
#define MNTOPT_OSYNCISOSYNC "osyncisosync"
/* o_sync is REALLY o_sync */
#define MNTOPT_OSYNCISOSYNC "osyncisosync"
/* o_sync is REALLY o_sync */
#define MNTOPT_64BITINODE "inode64"
/* inodes can be allocated anywhere */
#define MNTOPT_64BITINODE "inode64"
/* inodes can be allocated anywhere */
#define MNTOPT_IKEEP "ikeep"
/* free empty inode clusters */
#define MNTOPT_IKEEP "ikeep"
/* do not free empty inode clusters */
#define MNTOPT_NOIKEEP "noikeep"
/* free empty inode clusters */
int
int
...
@@ -1614,7 +1615,9 @@ xfs_parseargs(
...
@@ -1614,7 +1615,9 @@ xfs_parseargs(
int
dsunit
,
dswidth
,
vol_dsunit
,
vol_dswidth
;
int
dsunit
,
dswidth
,
vol_dsunit
,
vol_dswidth
;
int
iosize
;
int
iosize
;
#if 0 /* XXX: off by default, until some remaining issues ironed out */
args->flags |= XFSMNT_IDELETE; /* default to on */
args->flags |= XFSMNT_IDELETE; /* default to on */
#endif
if
(
!
options
)
if
(
!
options
)
return
0
;
return
0
;
...
@@ -1722,6 +1725,8 @@ xfs_parseargs(
...
@@ -1722,6 +1725,8 @@ xfs_parseargs(
args
->
flags
|=
XFSMNT_NOLOGFLUSH
;
args
->
flags
|=
XFSMNT_NOLOGFLUSH
;
}
else
if
(
!
strcmp
(
this_char
,
MNTOPT_IKEEP
))
{
}
else
if
(
!
strcmp
(
this_char
,
MNTOPT_IKEEP
))
{
args
->
flags
&=
~
XFSMNT_IDELETE
;
args
->
flags
&=
~
XFSMNT_IDELETE
;
}
else
if
(
!
strcmp
(
this_char
,
MNTOPT_NOIKEEP
))
{
args
->
flags
|=
XFSMNT_IDELETE
;
}
else
if
(
!
strcmp
(
this_char
,
"osyncisdsync"
))
{
}
else
if
(
!
strcmp
(
this_char
,
"osyncisdsync"
))
{
/* no-op, this is now the default */
/* no-op, this is now the default */
printk
(
"XFS: osyncisdsync is now the default, option is deprecated.
\n
"
);
printk
(
"XFS: osyncisdsync is now the default, option is deprecated.
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment