Re: projected date for mount.cifs to support DFS junction points

2008-02-06 Thread Steve French
I only remember missing a loop unwinding on exit style comment of yours that was not addressed in what got integrated. I will go back through your notes again to see if I missed one. I meant to merge the final patch last week but ran out of time. Will try to finish that this week. On Feb 5,

RE: NFSD on XFS with RT subvolume

2008-02-06 Thread Rabeeh Khoury
Exporting an XFS volume with kernel NFSD when real-time subvolume is enabled hangs the kernel. I'm using vanilla LK 2.6.22.7; first I create the XFS volume with two partitions of 20GB each with extent size of 1MB; then I create a subdirectory in the volume and mark it (using xfs_io

Re: [RESEND] [PATCH] ext3,4:fdatasync should skip metadata writeout when overwriting

2008-02-06 Thread Jan Kara
Hi, Currently fdatasync is identical to fsync in ext3,4. I think fdatasync should skip journal flush in data=ordered and data=writeback mode when it overwrites to already-instantiated blocks on HDD. When I_DIRTY_DATASYNC flag is not set, fdatasync should skip journal writeout because

[ANNOUNCE] Btrfs v0.12 released

2008-02-06 Thread Chris Mason
Hello everyone, I wasn't planning on releasing v0.12 yet, and it was supposed to have some initial support for multiple devices. But, I have made a number of performance fixes and small bug fixes, and I wanted to get them out there before the (destabilizing) work on multiple-devices took

Re: [NFS] [PATCH] Make UDF exportable

2008-02-06 Thread Jan Kara
Hi, Signed-off-by: Rasmus Rohde [EMAIL PROTECTED] Interesting character before Signed-off-by :). --- fs/udf/namei.c.orig 2007-10-10 16:22:30.0 +0200 +++ fs/udf/namei.c2008-02-05 18:28:13.0 +0100 @@ -31,6 +31,7 @@ #include linux/smp_lock.h #include

Re: [patch 07/10] unprivileged mounts: add sysctl tunable for safe property

2008-02-06 Thread Serge E. Hallyn
Quoting Miklos Szeredi ([EMAIL PROTECTED]): From: Miklos Szeredi [EMAIL PROTECTED] Add the following: /proc/sys/fs/types/${FS_TYPE}/usermount_safe Signed-off-by: Miklos Szeredi [EMAIL PROTECTED] Thanks, Miklos, good explanations in the docs. Acked-by: Serge Hallyn [EMAIL PROTECTED]

Re: [NFS] [PATCH] Make UDF exportable

2008-02-06 Thread Rasmus Rohde
+ dotdot.d_name.name = ..; + dotdot.d_name.len = 2; + + lock_kernel(); + if (!udf_find_entry(child-d_inode, dotdot, fibh, cfi)) + goto out_unlock; Have you ever tried this? I think this could never work. UDF doesn't have entry named .. in a directory. You have to

Re: [patch 07/10] unprivileged mounts: add sysctl tunable for safe property

2008-02-06 Thread Miklos Szeredi
+ t-table[0].mode = 0644; Yikes, this could be a problem for containers, as it's simply tied to uid 0, whereas tying it to a capability would let us solve it with capability bounds. This might mean more urgency to get user namespaces working at least with sysfs, else this is a quick

Re: [patch 07/10] unprivileged mounts: add sysctl tunable for safe property

2008-02-06 Thread Serge E. Hallyn
Quoting Miklos Szeredi ([EMAIL PROTECTED]): + t-table[0].mode = 0644; Yikes, this could be a problem for containers, as it's simply tied to uid 0, whereas tying it to a capability would let us solve it with capability bounds. This might mean more urgency to get user namespaces

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

2008-02-06 Thread Andreas Dilger
On Jan 26, 2008 08:27 +0300, Al Boldi wrote: Jan Kara wrote: data=ordered mode has proven reliable over the years, and it does this by ordering filedata flushes before metadata flushes. But this sometimes causes contention in the order of a 10x slowdown for certain apps, either due

Re: [RFC] ext3 freeze feature

2008-02-06 Thread Takashi Sato
Hi, What you *could* do is to start putting processes to sleep if they attempt to write to the frozen filesystem, and then detect the deadlock case where the process holding the file descriptor used to freeze the filesystem gets frozen because it attempted to write to the filesystem --- at

Re: [NFS] [PATCH] Make UDF exportable

2008-02-06 Thread Christoph Hellwig
On Wed, Feb 06, 2008 at 09:58:02PM +0100, Rasmus Rohde wrote: Probably not. I just tested that I could read files and navigate the directory structure. However looking into UDF I think you are right - it will fail. I have extended udf_find_entry() to do an explicit check based on

Re: [NFS] [PATCH] Make UDF exportable

2008-02-06 Thread Neil Brown
On Wednesday February 6, [EMAIL PROTECTED] wrote: + dotdot.d_name.name = ..; + dotdot.d_name.len = 2; + + lock_kernel(); + if (!udf_find_entry(child-d_inode, dotdot, fibh, cfi)) + goto out_unlock; Have you ever tried this? I think this could never work. UDF doesn't

Re: [PATCH] reiserfs: use open_bdev_excl

2008-02-06 Thread Christoph Hellwig
On Wed, Dec 26, 2007 at 04:31:01PM +0100, Christoph Hellwig wrote: Use the proper helper to open a blockdevice by name for filesystem use, this makes sure it's properly claimed (also added for open-by-number) and gets rid of the struct file abuse. Tested by mounting a reiserfs filesystem

Re: [PATCH] reiserfs: use open_bdev_excl

2008-02-06 Thread Andrew Morton
On Thu, 7 Feb 2008 05:45:13 +0100 Christoph Hellwig [EMAIL PROTECTED] wrote: On Wed, Dec 26, 2007 at 04:31:01PM +0100, Christoph Hellwig wrote: Use the proper helper to open a blockdevice by name for filesystem use, this makes sure it's properly claimed (also added for open-by-number) and

Re: [PATCH] reiserfs: use open_bdev_excl

2008-02-06 Thread Christoph Hellwig
On Wed, Feb 06, 2008 at 09:16:27PM -0800, Andrew Morton wrote: On Thu, 7 Feb 2008 05:45:13 +0100 Christoph Hellwig [EMAIL PROTECTED] wrote: On Wed, Dec 26, 2007 at 04:31:01PM +0100, Christoph Hellwig wrote: Use the proper helper to open a blockdevice by name for filesystem use, this