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

2008-02-02 Thread Miklos Szeredi
Would you describe the situation that would cause the kernel to go into an infinite loop, please? The patch basically does: do { ... error = inode-i_op-foo() ... } while (error == ESTALE); What is the guarantee,

Re: [UNIONFS] 00/29 Unionfs and related patches pre-merge review (v2)

2008-02-02 Thread Erez Zadok
In message [EMAIL PROTECTED], Al Viro writes: On Sat, Jan 26, 2008 at 12:08:30AM -0500, Erez Zadok wrote: [concerns about lower directories moving around...] You are thinking about non-interesting case. _Files_ are not much of a problem. Directory tree is. The real problems with all

Re: [UNIONFS] 00/29 Unionfs and related patches pre-merge review (v2)

2008-02-02 Thread Al Viro
On Sat, Feb 02, 2008 at 01:45:15PM -0500, Erez Zadok wrote: You are thinking about non-interesting case. _Files_ are not much of a problem. Directory tree is. The real problems with all unionfs and stacking implementations I've seen so far, all way back to Heidemann et.al. start when

[patch 2/3] mm: bdi: use MAJOR:MINOR in /sys/class/bdi

2008-02-02 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Uniformly use MAJOR:MINOR in /sys/class/bdi/ for both block devices and non-block device backed filesystems: FUSE and NFS. Add symlink for block devices: /sys/block/name/bdi - /sys/class/bdi/bdi Signed-off-by: Miklos Szeredi [EMAIL PROTECTED] ---

[patch 3/3] mm: bdi: move statistics to debugfs

2008-02-02 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Move BDI statistics to debugfs: /sys/kernel/debug/bdi/bdi/stats Use postcore_initcall() to initialize the sysfs class and debugfs, because debugfs is initialized in core_initcall(). Update descriptions in ABI documentation. Signed-off-by: Miklos

[patch 1/3] mm: bdi: fix read_ahead_kb_store()

2008-02-02 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] This managed to completely evade testing :( Fix return value to be count or -errno. Also bring the function in line with the other store functions on this object, which have more strict input checking. Also fix bdi_set_max_ratio() to actually return an

[patch 0/3] mm: bdi: updates

2008-02-02 Thread Miklos Szeredi
Here are incremental patches against the export BDI attributes in sysfs patchset, addressing the issues identified at the last submission: - the read-only attributes are only for debugging - more consistent naming needed in /sys/class/bdi - documentation problems I've also done some

+ embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt-cifs-fix.patch added to -mm tree

2008-02-02 Thread akpm
The patch titled embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt-cifs-fix has been added to the -mm tree. Its filename is embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt-cifs-fix.patch Before you just go and hit reply, please: a) Consider who