login
Header Space

 
 

Re: [opensuse] nfs_update_inode: inode X mode changed, Y to Z

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Josef 'Jeff' Sipek <jeffpc@...>
Cc: NeilBrown <neilb@...>, J. Bruce Fields <bfields@...>, <xfs@...>, Adam Schrotenboer <adam@...>, Jesper Juhl <jesper.juhl@...>, Trond Myklebust <trond.myklebust@...>, <linux-kernel@...>, <linux-nfs@...>, Thomas Daniel <tdaniel@...>, Frederic Revenu <frevenu@...>, Jeff Doan <jdoan@...>
Date: Tuesday, March 25, 2008 - 11:37 pm

On Tue, Mar 25, 2008 at 06:13:21PM -0400, Josef 'Jeff' Sipek wrote:
.....
.....

/me goes back to the bug from last year about stable inode/gen numbers
for a HSM.

dgc> Right, except the last thing we want is yet more global state needing to
dgc> be updated in inode allocation. The best way to do this is a max generation
dgc> number per AG (held in the AGI) so that it can be updated at the same time
dgc> inodes are freed and not cause additional serialisation.

Which was soundly rejected by the HSM folk because it wraps at 4 billion
inode create/unlink cycles in an AG rather than per inode. The only thing
they were happy with was the old behaviour and so they now mount their
filesystems with ikeep. At that point the issue was dropped on the floor;
the NFS side of things apparently weren't causing any problems so we didn't
consider it urgent to fix....

Given this state of affairs (i.e. HSM using ikeep), I guess we can do
anything we want for the noikeep case. I'll cook up a patch that does
something similar to ext3 generation numbers for the initial seeding....


That was for in memory counters not on disk, and the problem really was
free block counts rather than free inode counts. Yes, I converted the
inode counters at the same time, but that wasn't the limiting factor.
Updates to the on disk superblock, OTOH, are a limiting factor and
that was the lazy superblock counter modifications solve....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [opensuse] nfs_update_inode: inode X mode changed, Y to Z, Josef 'Jeff' Sipek, (Tue Mar 25, 6:13 pm)
Re: [opensuse] nfs_update_inode: inode X mode changed, Y to Z, David Chinner, (Tue Mar 25, 11:37 pm)
Re: [opensuse] nfs_update_inode: inode X mode changed, Y to Z, Adam Schrotenboer, (Thu Apr 17, 3:37 pm)
speck-geostationary