[PATCH] clear PAGECACHE_TAG_DIRTY for truncated pages

2008-02-01 Thread Fengguang Wu
The `truncated' page in block_write_full_page()/nobh_writepage() may stick for a long time. For example, ext2_rmdir() will set i_size to 0, and then the dir inode and its pages may hang around because of being referenced by some process. To produce this situation: In terminal 1:

unionfs_copy_attr_times oopses

2008-02-01 Thread Hugh Dickins
Hi Erez, Aside from the occasional unionfs: new lower inode mtime messages on directories (which I've got into the habit of ignoring now), the only problem I'm still suffering with unionfs over tmpfs (not tested any other fs's below it recently) is oops in unionfs_copy_attr_times. I believe I'm

Re: [RFC] ext3: per-process soft-syncing data=ordered mode

2008-02-01 Thread Al Boldi
Chris Mason wrote: On Thursday 31 January 2008, Jan Kara wrote: On Thu 31-01-08 11:56:01, Chris Mason wrote: On Thursday 31 January 2008, Al Boldi wrote: The big difference between ordered and writeback is that once the slowdown starts, ordered goes into ~100% iowait, whereas

[PATCH 3/3] enhanced NFS ESTALE error handling (v2)

2008-02-01 Thread Peter Staubach
Hi. The patch enhanced the ESTALE error handling for NFS mounted file systems. It expands the number of places that the NFS client checks for ESTALE returns from the server. It also enhances the ESTALE handling for directories by occasionally retrying revalidation to check to see whether the

[PATCH 1/3] enhanced lookup ESTALE error handling (v2)

2008-02-01 Thread Peter Staubach
Hi. This is a patch to enhance ESTALE error handling during the lookup process. The error, ESTALE, can occur when out of data dentries, stored in the dcache, is used to translate a pathname component to a dentry. When this occurs, the dentry which contains the pointer to the inode which refers

[PATCH 2/3] enhanced syscall ESTALE error handling (v2)

2008-02-01 Thread Peter Staubach
Hi. This patch adds handling for the error, ESTALE, to the system calls which take pathnames as arguments. The algorithm used is to detect that an ESTALE error has occurred during an operation subsequent to the lookup process and then to unwind appropriately and then to perform the lookup

Re: [PATCH 3/3] enhanced NFS ESTALE error handling (v2)

2008-02-01 Thread Trond Myklebust
On Fri, 2008-02-01 at 15:58 -0500, Peter Staubach wrote: Hi. The patch enhanced the ESTALE error handling for NFS mounted file systems. It expands the number of places that the NFS client checks for ESTALE returns from the server. It also enhances the ESTALE handling for directories by

[PATCH 0/3] enhanced ESTALE error handling (v2)

2008-02-01 Thread Peter Staubach
Hi. Here is version 2 of a patch set which modifies the system to enhance the ESTALE error handling for system calls which take pathnames as arguments. The error, ESTALE, was originally introduced to handle the situation where a file handle, which NFS uses to uniquely identify a file on the

Re: [PATCH 2/3] enhanced syscall ESTALE error handling (v2)

2008-02-01 Thread Miklos Szeredi
This doesn't apply to -mm, because the ro-mounts stuff touches a lot of the same places as this patch. You probably need to rebase this on top of those changes. This patch adds handling for the error, ESTALE, to the system calls which take pathnames as arguments. The algorithm used is to

Re: [PATCH 3/3] enhanced NFS ESTALE error handling (v2)

2008-02-01 Thread Peter Staubach
Trond Myklebust wrote: On Fri, 2008-02-01 at 15:58 -0500, Peter Staubach wrote: Hi. The patch enhanced the ESTALE error handling for NFS mounted file systems. It expands the number of places that the NFS client checks for ESTALE returns from the server. It also enhances the ESTALE

Re: [PATCH 2/3] enhanced syscall ESTALE error handling (v2)

2008-02-01 Thread Peter Staubach
Miklos Szeredi wrote: This doesn't apply to -mm, because the ro-mounts stuff touches a lot of the same places as this patch. You probably need to rebase this on top of those changes. This patch adds handling for the error, ESTALE, to the system calls which take pathnames as arguments. The

Re: [PATCH 2/3] enhanced syscall ESTALE error handling (v2)

2008-02-01 Thread Miklos Szeredi
This doesn't apply to -mm, because the ro-mounts stuff touches a lot of the same places as this patch. You probably need to rebase this on top of those changes. This patch adds handling for the error, ESTALE, to the system calls which take pathnames as arguments. The algorithm

Re: [PATCH 2/3] enhanced syscall ESTALE error handling (v2)

2008-02-01 Thread Peter Staubach
Miklos Szeredi wrote: This doesn't apply to -mm, because the ro-mounts stuff touches a lot of the same places as this patch. You probably need to rebase this on top of those changes. This patch adds handling for the error, ESTALE, to the system calls which take pathnames as

Re: unionfs_copy_attr_times oopses

2008-02-01 Thread Erez Zadok
In message [EMAIL PROTECTED], Hugh Dickins writes: Hi Erez, Aside from the occasional unionfs: new lower inode mtime messages on directories (which I've got into the habit of ignoring now), the only problem I'm still suffering with unionfs over tmpfs (not tested any other fs's below it