Re: + fs-introduce-write_begin-write_end-and-perform_write-aops.patch added to -mm tree

2007-06-14 Thread Jan Kara
On Wed, 2007-06-13 at 13:43 +0200, Nick Piggin wrote: .. 5) ext3_write_end: Before write_begin/write_end patch set we have folowing locking order: stop_journal(handle); unlock_page(page); But now order is oposite: unlock_page(page);

Re: + fs-introduce-write_begin-write_end-and-perform_write-aops.patch added to -mm tree

2007-06-14 Thread Nick Piggin
On Thu, Jun 14, 2007 at 11:52:49AM +0200, Jan Kara wrote: On Wed, 2007-06-13 at 13:43 +0200, Nick Piggin wrote: .. 5) ext3_write_end: Before write_begin/write_end patch set we have folowing locking order: stop_journal(handle);

Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc

2007-06-14 Thread David Chinner
On Thu, Jun 14, 2007 at 03:14:58AM -0600, Andreas Dilger wrote: On Jun 14, 2007 09:52 +1000, David Chinner wrote: B FA_PREALLOCATE provides the same functionality as B FA_ALLOCATE except it does not ever change the file size. This allows allocation of zero blocks beyond the end of file

Couple of queries related to htree directory

2007-06-14 Thread Tejas Sumant
Hi All, Any idea, how to search a directory on given ext3 file system, which is having htree structure? Also is there any way to create a htree indexed directory explicitly? using some command or tool? Thanks -- Tejas Sumant - To unsubscribe from this list: send the line unsubscribe linux-ext4

[PATCH 0/6] inode version updated patches

2007-06-14 Thread Kalpak Shah
Hi, I have updated the inode version patches and below are the details: 64-bit-i_version.patch which only replaces the 32-bit i_version field in the generic inode with a 64-bit i_version field. The VFS-level updates of the inode version are still in the i_version_update_vfs.patch and this patch

[PATCH 1/6] Separated 64-bit i_version patch

2007-06-14 Thread Kalpak Shah
64-bit-i_version.patch which only replaces the 32-bit i_version field in the generic inode with a 64-bit i_version field. Signed-off-by: Jean Noel Cordenner [EMAIL PROTECTED] Signed-off-by: Kalpak Shah [EMAIL PROTECTED] --- fs.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) P.S. The

[PATCH 3/6] Changes for 64-bit i_version

2007-06-14 Thread Kalpak Shah
ext4_i_version_hi_2.patch was still using ei-i_fs_version instead of inode-i_version. I have corrected it. Signed-off-by: Kalpak Shah [EMAIL PROTECTED] Signed-off-by: Mingming Cao [EMAIL PROTECTED] --- fs/ext4/inode.c | 15 ++- include/linux/ext4_fs.h |4 +++- 2 files

[PATCH 4/6] add noversion mount option

2007-06-14 Thread Kalpak Shah
This patch adds a noversion mount option to disable inode version updates. Signed-off-by: Andreas Dilger [EMAIL PROTECTED] Signed-off-by: Kalpak Shah [EMAIL PROTECTED] --- fs/ext4/inode.c |4 +++- fs/ext4/super.c |6 +- include/linux/ext4_fs.h |1 + 3 files

[PATCH 6/6] Updated series file

2007-06-14 Thread Kalpak Shah
The updated series file. # Rebased the patches to 2.6.22-rc4 # Add mount option to turn off extents ext4_noextent_mount_opt.patch # Mounted ext4dev fs with extents by default for testing purpose, # for Ext4 product release, extents mount option # will be turn on only if the fs has EXTENTS

Re: iov_iter_fault_in_readable fix

2007-06-14 Thread Christoph Hellwig
On Wed, Jun 13, 2007 at 05:57:59PM +0400, Dmitriy Monakhov wrote: Function prerform check for signgle region, with out respect to segment nature of iovec, For example writev no longer works :) Btw, could someone please start to collect all sniplets like this in a nice simple

Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc

2007-06-14 Thread Andreas Dilger
On Jun 14, 2007 22:04 +1000, David Chinner wrote: On Thu, Jun 14, 2007 at 03:14:58AM -0600, Andreas Dilger wrote: B FA_DEALLOCATE removes the underlying disk space with the given range. The disk space shall be removed regardless of it's contents so both allocated space from B

Re: [PATCH 4/6] add noversion mount option

2007-06-14 Thread Kalpak Shah
On Thu, 2007-06-14 at 13:50 -0700, Mingming Cao wrote: On Thu, 2007-06-14 at 21:26 +0530, Kalpak Shah wrote: This patch adds a noversion mount option to disable inode version updates. Can you explain a bit more why we need this mount option? Is it because of performance concern? Lustre

Re: iov_iter_fault_in_readable fix

2007-06-14 Thread David Chinner
On Thu, Jun 14, 2007 at 06:31:53PM +0100, Christoph Hellwig wrote: On Wed, Jun 13, 2007 at 05:57:59PM +0400, Dmitriy Monakhov wrote: Function prerform check for signgle region, with out respect to segment nature of iovec, For example writev no longer works :) Btw, could someone

Re: delayed allocatiou result in Oops

2007-06-14 Thread Alex Tomas
looks like an error in error handling path (notice -28 (ENOSPC) before) thanks for the report, Alex Dmitriy Monakhov wrote: ) Simple test failed on ext4 when delayed allocation was used. #mkfs.ext3 -b4096 /dev/vzvg/test2 #mount -text4dev /dev/vzvg/test2 /mnt/test -odelalloc #fsstress -d