[PATCH -mm] gfs2 lock function parameter

2006-11-28 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Fix function parameter typing: fs/gfs2/glock.c:100: warning: function declaration isn't a prototype Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- fs/gfs2/glock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.19-rc6-mm2.orig/f

Re: [PATCH] prune_icache_sb

2006-11-28 Thread Wendy Cheng
Andrew Morton wrote: We shouldn't export this particular implementation to modules because it has bad failure modes. There might be a case for exposing an i_sb_list-based API or, perhaps better, a max-unused-inodes mount option. Ok, thanks for looking into this - it is appreciated. I'll tr

Re: a question about ext4_fsblk_t

2006-11-28 Thread Mingming Cao
On Sun, 2006-10-22 at 16:50 +0800, guomingyang wrote: > >I also find many places where the block number type is not changed in > namei.c and dir.c. Why? They are all file logical blocks, ext4_fsblk_t is for on disk blocks. Takashi Sato has a patch to define all file logical blocks as ext3

Re: [PATCH] prune_icache_sb

2006-11-28 Thread Andrew Morton
On Tue, 28 Nov 2006 16:41:07 -0500 Wendy Cheng <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > On Mon, 27 Nov 2006 18:52:58 -0500 > > Wendy Cheng <[EMAIL PROTECTED]> wrote: > > > > > >> Not sure about walking thru sb->s_inodes for several reasons > >> > >> 1. First, the changes made a

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-11-28 Thread Wendy Cheng
Andreas Dilger wrote: statlite() - asking for stat info without requiring completely accurate info like dates and sizes. This is good for running stat against a file that is open by hundreds of processes which currently forces callbacks and the hundreds of processes to flush. This i

Re: [PATCH] prune_icache_sb

2006-11-28 Thread Wendy Cheng
Andrew Morton wrote: On Mon, 27 Nov 2006 18:52:58 -0500 Wendy Cheng <[EMAIL PROTECTED]> wrote: Not sure about walking thru sb->s_inodes for several reasons 1. First, the changes made are mostly for file server setup with large fs size - the entry count in sb->s_inodes may not be shorte

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-11-28 Thread Russell Cattelan
On Tue, 2006-11-28 at 03:54 -0700, Andreas Dilger wrote: > > > > >statlite() - asking for stat info without requiring completely > > > >accurate info like dates and sizes. This is good > > > >for running stat against a file that is open by hundreds of > > > >processes which currently forces ca

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-11-28 Thread Matthew Wilcox
On Mon, Nov 27, 2006 at 09:34:05PM -0700, Gary Grider wrote: > >Things like > >openg() - on process opens a file and gets a key that is passed to > >lots of processes which > >use the key to get a handle (great for thousands of processes opening a > >file) I don't understand how this leads to a

Re: [PATCH/RFC] pass dio_complete proper offset from finished_one_bio

2006-11-28 Thread Eric Sandeen
Eric Sandeen wrote: We saw problems w/ xfs doing AIO+DIO into a sparse file. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217098 It seemed that xfs was doing "extent conversion" at the wrong offsets, so written regions came up as unwritten (zeros) and stale data was exposed in the region

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-11-28 Thread Anton Altaparmakov
On Tue, 2006-11-28 at 03:54 -0700, Andreas Dilger wrote: > On Nov 28, 2006 05:54 +, Christoph Hellwig wrote: > > What crack do you guys have been smoking? > > As usual, Christoph is a model of diplomacy :-). > > > On Mon, Nov 27, 2006 at 09:34:05PM -0700, Gary Grider wrote: > > > >readx/writ

Re: NFSv4/pNFS possible POSIX I/O API standards

2006-11-28 Thread Andreas Dilger
On Nov 28, 2006 05:54 +, Christoph Hellwig wrote: > What crack do you guys have been smoking? As usual, Christoph is a model of diplomacy :-). > On Mon, Nov 27, 2006 at 09:34:05PM -0700, Gary Grider wrote: > > >readx/writex - scattergather readwrite - more appropriate and > > >complete than