* [PATCH 4 of 4] Restore ihashsize mount option as deprecated
@ 2007-08-09 11:45 David Chinner
[not found] ` <46F4390A.5070407@sandeen.net>
0 siblings, 1 reply; 5+ messages in thread
From: David Chinner @ 2007-08-09 11:45 UTC (permalink / raw)
To: xfs-dev; +Cc: xfs-oss
The ihashsize option should remain so that filesystems with
this set don't fail to mount. Ignore the mount option value
and issue a deprecation warning to syslog.
Update the ihashsize mount option documentation to indicate this
behaviour. Update the ikeep/noikeep mount option documentation
while we are there.
Signed-off-by: Dave Chinner <dgc@sgi.com>
---
Documentation/filesystems/xfs.txt | 14 ++++++--------
fs/xfs/xfs_vfsops.c | 3 +++
2 files changed, 9 insertions(+), 8 deletions(-)
Index: 2.6.x-xfs-new/fs/xfs/xfs_vfsops.c
===================================================================
--- 2.6.x-xfs-new.orig/fs/xfs/xfs_vfsops.c 2007-08-09 13:03:53.000000000 +1000
+++ 2.6.x-xfs-new/fs/xfs/xfs_vfsops.c 2007-08-09 18:27:39.740905512 +1000
@@ -1883,6 +1883,9 @@ xfs_parseargs(
args->flags &= ~XFSMNT_ATTR2;
} else if (!strcmp(this_char, MNTOPT_FILESTREAM)) {
args->flags2 |= XFSMNT2_FILESTREAMS;
+ } else if (!strcmp(this_char, "ihashsize")) {
+ cmn_err(CE_WARN,
+ "XFS: ihashsize no longer used, option is deprecated.");
} else if (!strcmp(this_char, "osyncisdsync")) {
/* no-op, this is now the default */
cmn_err(CE_WARN,
Index: 2.6.x-xfs-new/Documentation/filesystems/xfs.txt
===================================================================
--- 2.6.x-xfs-new.orig/Documentation/filesystems/xfs.txt 2007-08-09 13:00:11.000000000 +1000
+++ 2.6.x-xfs-new/Documentation/filesystems/xfs.txt 2007-08-09 18:35:57.300771335 +1000
@@ -52,16 +52,14 @@ When mounting an XFS filesystem, the fol
and also gets the setgid bit set if it is a directory itself.
ihashsize=value
- Sets the number of hash buckets available for hashing the
- in-memory inodes of the specified mount point. If a value
- of zero is used, the value selected by the default algorithm
- will be displayed in /proc/mounts.
+ In memory inode hashes have been removed, so this option has
+ no function as of August 2007. Option is deprecated.
ikeep/noikeep
- When inode clusters are emptied of inodes, keep them around
- on the disk (ikeep) - this is the traditional XFS behaviour
- and is still the default for now. Using the noikeep option,
- inode clusters are returned to the free space pool.
+ When ikeep is specified, XFS does not delete empty inode clusters
+ and keeps them around on disk. ikeep is the traditional XFS
+ behaviour. When noikeep is specified, empty inode clusters
+ are returned to the free space pool. The default is noikeep.
inode64
Indicates that XFS is allowed to create inodes at any location
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 4 of 4] Restore ihashsize mount option as deprecated
[not found] ` <46F4390A.5070407@sandeen.net>
@ 2007-09-23 7:57 ` David Chinner
2007-09-23 10:00 ` Christoph Hellwig
0 siblings, 1 reply; 5+ messages in thread
From: David Chinner @ 2007-09-23 7:57 UTC (permalink / raw)
To: Eric Sandeen; +Cc: David Chinner, xfs-dev, xfs-oss
On Fri, Sep 21, 2007 at 04:35:06PM -0500, Eric Sandeen wrote:
> David Chinner wrote:
>
> > The ihashsize option should remain so that filesystems with
> > this set don't fail to mount. Ignore the mount option value
> > and issue a deprecation warning to syslog.
> >
> > Update the ihashsize mount option documentation to indicate this
> > behaviour. Update the ikeep/noikeep mount option documentation
> > while we are there.
> >
> >
> Hm, but shouldn't some of these mount struct items go too, now?
Yes. I thought I killed them - must have missed them in some
of the patch juggling I had to do at one point.
> (I may go looking for more unused struct members for fun if I have
> time...)
>
> -------------
>
> Remove unused xfs_mount and xfs_mount_args structure members
> post radix-tree conversion.
>
> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Looks ok to me...
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 4 of 4] Restore ihashsize mount option as deprecated
2007-09-23 7:57 ` David Chinner
@ 2007-09-23 10:00 ` Christoph Hellwig
[not found] ` <46F67BD3.8050706@sandeen.net>
0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2007-09-23 10:00 UTC (permalink / raw)
To: David Chinner; +Cc: Eric Sandeen, xfs-dev, xfs-oss
Did anyone but Dave get Eric's original message? It seems to not have
made it to the list.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 4 of 4] Restore ihashsize mount option as deprecated
[not found] ` <46F67BD3.8050706@sandeen.net>
@ 2007-09-23 22:05 ` Mark Goodwin
2007-09-23 22:38 ` Eric Sandeen
0 siblings, 1 reply; 5+ messages in thread
From: Mark Goodwin @ 2007-09-23 22:05 UTC (permalink / raw)
To: Eric Sandeen
Cc: Christoph Hellwig, David Chinner, xfs-dev, xfs-oss, trev,
Kevin G. Snow
Eric Sandeen wrote:
> Christoph Hellwig wrote:
>> Did anyone but Dave get Eric's original message? It seems to not have
>> made it to the list.
>>
>
> No, it was yet another lost email on oss. I guess the xfs-dev list got it.
>
>>From a fairly quick look at logs I have no idea what happened... but
> this is clearly a problem that must be solved one way or another.
Have we (or can we) agree on a new list handler? The current mechanism
has trouble allowing new subscribers and now we see it's loosing mail
too. Let's get this fixed and move on. Who owns this on oss? If nobody,
then I'll organize it, but first we need consensus on a replacement.
Thanks
--
Mark Goodwin markgw@sgi.com
Engineering Manager for XFS and PCP Phone: +61-3-99631937
SGI Australian Software Group Cell: +61-4-18969583
-------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 4 of 4] Restore ihashsize mount option as deprecated
2007-09-23 22:05 ` Mark Goodwin
@ 2007-09-23 22:38 ` Eric Sandeen
0 siblings, 0 replies; 5+ messages in thread
From: Eric Sandeen @ 2007-09-23 22:38 UTC (permalink / raw)
To: markgw
Cc: Christoph Hellwig, David Chinner, xfs-dev, xfs-oss, trev,
Kevin G. Snow
Mark Goodwin wrote:
>
> Eric Sandeen wrote:
>> Christoph Hellwig wrote:
>>> Did anyone but Dave get Eric's original message? It seems to not have
>>> made it to the list.
>>>
>> No, it was yet another lost email on oss. I guess the xfs-dev list got it.
>>
>> >From a fairly quick look at logs I have no idea what happened... but
>> this is clearly a problem that must be solved one way or another.
>
> Have we (or can we) agree on a new list handler? The current mechanism
> has trouble allowing new subscribers
That appeared to be spamfilter misfires.
> and now we see it's loosing mail
> too.
Not sure anyone has gotten to the bottom of this new problem.
-Eric
> Let's get this fixed and move on. Who owns this on oss? If nobody,
> then I'll organize it, but first we need consensus on a replacement.
>
> Thanks
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-23 22:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-09 11:45 [PATCH 4 of 4] Restore ihashsize mount option as deprecated David Chinner
[not found] ` <46F4390A.5070407@sandeen.net>
2007-09-23 7:57 ` David Chinner
2007-09-23 10:00 ` Christoph Hellwig
[not found] ` <46F67BD3.8050706@sandeen.net>
2007-09-23 22:05 ` Mark Goodwin
2007-09-23 22:38 ` Eric Sandeen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox