Re: vm/fs meetup in september?

2007-07-01 Thread Nick Piggin
On Sat, Jun 30, 2007 at 05:35:04AM -0700, Martin J. Bligh wrote: > Christoph Hellwig wrote: > >On Tue, Jun 26, 2007 at 12:35:09PM +1000, Nick Piggin wrote: > > > >>I'd like to see you there, so I hope we can find a date that most > >>people are happy with. I'll try to start working that out after

Re: [PATCH 4/7][TAKE5] support new modes in fallocate

2007-07-01 Thread David Chinner
On Sat, Jun 30, 2007 at 11:21:11AM +0100, Christoph Hellwig wrote: > On Tue, Jun 26, 2007 at 04:02:47PM +0530, Amit K. Arora wrote: > > > Can you clarify - what is the current behaviour when ENOSPC (or some other > > > error) is hit? Does it keep the current fallocate() or does it free it? > > >

Re: [PATCH 4/7][TAKE5] support new modes in fallocate

2007-07-01 Thread Andreas Dilger
On Jun 30, 2007 11:21 +0100, Christoph Hellwig wrote: > On Tue, Jun 26, 2007 at 04:02:47PM +0530, Amit K. Arora wrote: > > Currently it is left on the file system implementation. In ext4, we do > > not undo preallocation if some error (say, ENOSPC) is hit. Hence it may > > end up with partial (pre

Re: [PATCH 5/6] gfs2: stop giving out non-cluster-coherent leases

2007-07-01 Thread J. Bruce Fields
On Sat, Jun 30, 2007 at 10:27:42AM +0100, Christoph Hellwig wrote: > On Fri, Jun 29, 2007 at 03:21:29PM -0400, J. Bruce Fields wrote: > > +static int gfs2_setlease(struct file *file, long arg, struct file_lock > > **fl) > > +{ > > + struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host); > > +

Re: [EXT4 set 6][PATCH 1/1]Export jbd stats through procfs

2007-07-01 Thread Jose R. Santos
On Sun, 01 Jul 2007 03:38:10 -0400 Mingming Cao <[EMAIL PROTECTED]> wrote: > [PATCH] jbd2 stats through procfs > > The patch below updates the jbd stats patch to 2.6.20/jbd2. > The initial patch was posted by Alex Tomas in December 2005 > (http://marc.info/?l=linux-ext4&m=113538565128617&w=2). >

[EXT4 set 9][PATCH 5/5]Extent micro cleanups

2007-07-01 Thread Mingming Cao
From: Dmitry Monakhov <[EMAIL PROTECTED]> Subject: ext4: extent macros cleanup - Replace math equation to it's macro equivalent - make ext4_ext_grow_indepth() indexes/leaf correct Signed-off-by: Dmitry Monakhov <[EMAIL PROTECTED]> Acked-by: Alex Tomas <[EMAIL PROTECTED]> Signed-off-by: Dave Kleik

[EXT4 set 9][PATCH 3/5]Morecleanups:ext4-remove-extra-is_rdonly-check

2007-07-01 Thread Mingming Cao
Subject: ext4: remove extra IS_RDONLY() check From: Dave Hansen <[EMAIL PROTECTED]> ext4_change_inode_journal_flag() is only called from one location: ext4_ioctl(EXT3_IOC_SETFLAGS). That ioctl case already has a IS_RDONLY() call in it so this one is superfluous. Signed-off-by: Dave Hansen <[EMAI

[EXT4 set 9][PATCH 4/5]Morecleanups:ext4_extent_compilation_fixes

2007-07-01 Thread Mingming Cao
From: Dmitry Monakhov <[EMAIL PROTECTED]> Subject: ext4: extent compilation fixes Fix compilation with EXT_DEBUG, also fix leXX_to_cpu convertions. Signed-off-by: Dmitry Monakhov <[EMAIL PROTECTED]> Acked-by: Alex Tomas <[EMAIL PROTECTED]> Signed-off-by: Dave Kleikamp <[EMAIL PROTECTED]> --- fs/

[EXT4 set 9][PATCH 2/5]Morecleanups: use is_power_of_2 () in fill_super

2007-07-01 Thread Mingming Cao
Subject: is_power_of_2: ext4/super.c From: vignesh babu <[EMAIL PROTECTED]> Replace (n & (n-1)) in the context of power of 2 checks with is_power_of_2() Signed-off-by: vignesh babu <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Dave Kle

[EXT4 set 9][PATCH 1/5]Morecleanups:ext4-zero_user_page

2007-07-01 Thread Mingming Cao
Use zero_user_page() in ext4 where possible. Signed-off-by: Eric Sandeen <[EMAIL PROTECTED]> Index: linux-2.6.22-rc4-mm2/fs/ext4/inode.c === --- linux-2.6.22-rc4-mm2.orig/fs/ext4/inode.c +++ linux-2.6.22-rc4-mm2/fs/ext4/inode.c @@ -

[EXT4 set 8][PATCH 1/1]Add journal checksums

2007-07-01 Thread Mingming Cao
Journal checksum feature has been added to detect corruption of journal. Signed-off-by: Andreas Dilger <[EMAIL PROTECTED]> Signed-off-by: Girish Shilamkar <[EMAIL PROTECTED]> Signed-off-by: Dave Kleikamp <[EMAIL PROTECTED]> diff -Nurp linux024/fs/ext4/super.c linux/fs/ext4/super.c --- linux024/fs

[EXT4 set 7][PATCH 1/1]Remove 32000 subdirs limit.

2007-07-01 Thread Mingming Cao
>From [EMAIL PROTECTED] Thu May 17 17:21:08 2007 Hi, I have rebased this patch to 2.6.22-rc1 so that it can be added to the ext4 patch queue. It has been tested by creating more than 65000 subdirs and then deleting them and checking the nlinks. The e2fsprogs part of this patch was sent earlier by

[EXT4 set 6][PATCH 1/1]Export jbd stats through procfs

2007-07-01 Thread Mingming Cao
[PATCH] jbd2 stats through procfs The patch below updates the jbd stats patch to 2.6.20/jbd2. The initial patch was posted by Alex Tomas in December 2005 (http://marc.info/?l=linux-ext4&m=113538565128617&w=2). It provides statistics via procfs such as transaction lifetime and size. [ This probabl

[EXT4 set 5][PATCH 1/1] expand inode i_extra_isize to support features in larger inode

2007-07-01 Thread Mingming Cao
This patch is on top of the nanosecond timestamp and i_version_hi patches. We need to make sure that existing filesystems can also avail the new fields that have been added to the inode. We use s_want_extra_isize and s_min_extra_isize to decide by how much we should expand the inode. If EXT4_FEAT

[EXT4 set 4][PATCH 5/5] i_version: noversion mount option to disable inode version updates

2007-07-01 Thread Mingming Cao
Add a "noversion" mount option to disable inode version updates. Signed-off-by: Andreas Dilger <[EMAIL PROTECTED]> Signed-off-by: Kalpak Shah <[EMAIL PROTECTED]> Index: linux-2.6.21/fs/ext4/super.c === --- linux-2.6.21.orig/fs/ext4/s

[EXT4 set 4][PATCH 4/5] i_version:ext4 inode version update

2007-07-01 Thread Mingming Cao
This patch is on top of i_version_update_vfs. The i_version field of the inode is set on inode creation and incremented when the inode is being modified. Signed-off-by: Jean Noel Cordenner <[EMAIL PROTECTED]> Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> Index: linux-2.6.22-rc4/fs/ext4/ialloc.c

[EXT4 set 4][PATCH 3/5] i_version:ext4 inode version read/store

2007-07-01 Thread Mingming Cao
This patch adds 64-bit inode version support to ext4. The lower 32 bits are stored in the osd1.linux1.l_i_version field while the high 32 bits are stored in the i_version_hi field newly created in the ext4_inode. Signed-off-by: Kalpak Shah <[EMAIL PROTECTED]> Signed-off-by: Mingming Cao <[EMAIL PR

[EXT4 set 4][PATCH 2/5] i_version: Add hi 32 bit inode version on ext4 on-disk inode

2007-07-01 Thread Mingming Cao
This patch adds a 32-bit i_version_hi field to ext4_inode, which can be used for 64-bit inode versions. This field will store the higher 32 bits of the version, while Jean Noel's patch has added support to store the lower 32-bits in osd1.linux1.l_i_version. Signed-off-by: Mingming Cao <[EMAIL P

[EXT4 set 4][PATCH 1/5] i_version:64 bit inode version

2007-07-01 Thread Mingming Cao
This patch converts the 32-bit i_version in the generic inode to a 64-bit i_version field. Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> Signed-off-by: Jean Noel Cordenner <[EMAIL PROTECTED]> Signed-off-by: Kalpak Shah <[EMAIL PROTECTED]> Index: linux-2.6.21/include/linux/fs.h =

[EXT4 set 3][PATCH 1/1] ext4 nanosecond timestamp

2007-07-01 Thread Mingming Cao
This patch is a spinoff of the old nanosecond patches. It includes some cleanups and addition of a creation timestamp. The EXT3_FEATURE_RO_COMPAT_EXTRA_ISIZE flag has also been added along with s_{min, want}_extra_isize fields in struct ext3_super_block. Signed-off-by: Andreas Dilger <[EMAIL PROT

[EXT4 set 2][PATCH 4/5] cleanups: Rename CONFIG_JBD_DEBUG to CONFIG_JBD2_DEBUG

2007-07-01 Thread Mingming Cao
When the JBD code was forked to create the new JBD2 code base, the references to CONFIG_JBD_DEBUG where never changed to CONFIG_JBD2_DEBUG. This patch fixes that. Signed-off-by: Jose R. Santos <[EMAIL PROTECTED]> --- Index: linux-2.6.22-rc4/fs/jbd2/journal.c ==

[EXT4 set 2][PATCH 5/5] cleanups: Export jbd2-debug via debugfs

2007-07-01 Thread Mingming Cao
> On Jun 07, 2007 23:45 -0500, Jose R. Santos wrote: > > The jbd2-debug file used to be located in /proc/sys/fs/jbd2-debug, but > > create_proc_entry() does not do lookups on file names with more that one > > directory deep. This causes the entry creation to fail and hence, no proc > > file is cr

[EXT4 set 2][PATCH 3/5] cleanups: set_jbd2_64bit_feature for >16TB ext4 fs

2007-07-01 Thread Mingming Cao
Set the journals JBD2_FEATURE_INCOMPAT_64BIT on devices with more than 32bit block sizes during mount time. This ensure proper record lenth when writing to the journal. Signed-off-by: Jose R. Santos <[EMAIL PROTECTED]> Signed-off-by: Andreas Dilger <[EMAIL PROTECTED]> Signed-off-by: Mingming Cao

[EXT4 set 2][PATCH 1/5] cleanups: Propagate some i_flags to disk

2007-07-01 Thread Mingming Cao
Propagate flags such as S_APPEND, S_IMMUTABLE, etc. from i_flags into ext4-specific i_flags. Hence, when someone sets these flags via a different interface than ioctl, they are stored correctly. Signed-off-by: Jan Kara <[EMAIL PROTECTED]> Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> Index: lin

[EXT4 set 2][PATCH 2/5] cleanups: Add extent sanity checks

2007-07-01 Thread Mingming Cao
with the patch all headers are checked. the code should become more resistant to on-disk corruptions. needless BUG_ON() have been removed. please, review for inclusion. Signed-off-by: Alex Tomas <[EMAIL PROTECTED]> Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> Index: linux-2.6.22-rc4/fs/ext4/ex

[EXT4 set 1][PATCH 2/2] Enable extents by default for ext4dev

2007-07-01 Thread Mingming Cao
Turn on extents feature by default in ext4 filesystem. User could use -o noextents to turn it off. Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> Index: linux-2.6.22-rc4/fs/ext4/super.c === --- linux-2.6.22-rc4.orig/fs/ext4/super.c

[EXT4 set 1][PATCH 1/2] Add noextents mount option

2007-07-01 Thread Mingming Cao
Add a mount option to turn off extents. Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> --- Index: linux-2.6.22-rc4/fs/ext4/super.c === --- linux-2.6.22-rc4.orig/fs/ext4/super.c 2007-06-11 17:02:18.0 -0700 +++ linux-2.6

Ext4 patches for 2.6.22-rc6

2007-07-01 Thread Mingming Cao
On Fri, 2007-06-29 at 13:57 -0700, Andrew Morton wrote: > On Fri, 29 Jun 2007 11:50:04 -0400 > Mingming Caoc <[EMAIL PROTECTED]> wrote: > > > I think the ext4 patch queue is in good shape now. > > Which ext4 patches are you intending to merge into 2.6.23? > > Please send all those out to lkml fo

[PATCH] update Documentation/filesystems/vfs.txt (second part)

2007-07-01 Thread Borislav Petkov
--- From: Borislav Petkov <[EMAIL PROTECTED]> Update the rest of Documentation/filesystems/vfs.txt Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> -- Index: linux-2.6.22-rc6/Documentation/filesystems/vfs.txt === --- linux-2.6.22