I compiled the kernel with Ingo's CONFIG_PROVE_LOCKING and got the
below at boot. Is it a problem?
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:8
... MAX_LOCK_DEPTH: 30
... MAX_LOCKDEP_KEYS:2048
... CLASSHASH_SIZE:
Alan Cox [EMAIL PROTECTED] wrote:
I'd tried to advocate SIGDANGER some years ago as well, but none of
the kernel maintainers were interested. It definitely makes sense
to have some sort of mechanism like this. At the time I first brought
it up it was in conjunction with Netscape using too
Andrew,
Would you please consider these patches for -mm? They should be
relatively uncontroversial and straightforward fixes.
They touch a lot of filesystems though, so not sure about the
logistics...
For the description, see first patch's header.
Thanks,
Miklos
--
-
To unsubscribe from this
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to adfs.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/adfs/super.c
===
--- linux.orig/fs/adfs/super.c 2008-01-24 13:48:43.0
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to affs.
Use generic_show_options() and save the complete option string in
affs_fill_super() and affs_remount().
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/affs/super.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to afs.
Use generic_show_options() and save the complete option string in
afs_get_sb().
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/afs/super.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add uid= and gid= options to /proc/mounts for autofs4 filesystems.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/autofs4/inode.c
===
--- linux.orig/fs/autofs4/inode.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add a new s_options field to struct super_block. Filesystems can save
mount options passed to them in mount or remount. It is automatically
freed when the superblock is destroyed.
A new helper function, generic_show_options() is introduced, which uses
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to capifs.
Use generic_show_options() and save the complete option string in
capifs_remount().
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/drivers/isdn/capi/capifs.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to befs.
Use generic_show_options() and save the complete option string in
befs_fill_super().
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/befs/linuxvfs.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to devpts.
Also add minor fix: when parsing the mode option, mask with
S_IALLUGO instead of ~S_IFMT, which could leave unsed bits in the
mask.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index:
From: Miklos Szeredi [EMAIL PROTECTED]
Add noreservation option to /proc/mounts for ext2 filesystems.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/ext2/super.c
===
--- linux.orig/fs/ext2/super.c 2008-01-17
From: Miklos Szeredi [EMAIL PROTECTED]
Add stripe= option to /proc/mounts for ext4 filesystems.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/ext4/super.c
===
--- linux.orig/fs/ext4/super.c 2008-01-23
From: Miklos Szeredi [EMAIL PROTECTED]
This series addresses the problem of showing mount options in
/proc/mounts.
Several filesystems which use mount options, have not implemented a
.show_options superblock operation. Several others have implemented
this callback, but have not kept it fully up
From: Miklos Szeredi [EMAIL PROTECTED]
Add blksize= option to /proc/mounts for fuseblk filesystems.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/fuse/inode.c
===
--- linux.orig/fs/fuse/inode.c 2008-01-19
From: Miklos Szeredi [EMAIL PROTECTED]
Add the host path option to /proc/mounts for UML hostfs filesystems.
The mount source (mnt_devname) should really be used for this, but not
easy to change now in a backward compatible way.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index:
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to hpfs.
Use generic_show_options() and save the complete option string in
hpfs_fill_super() and hpfs_remount_fs().
Also add a small fix: hpfs_remount_fs() should return -EINVAL on
error, instead of 1, which is not an
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to isofs.
Use generic_show_options() and save the complete option string in
isofs_fill_super().
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/isofs/inode.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add posix, bsize=, namelen= options to /proc/mounts for nfs
filesystems.
Document several other options that are still missing.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/nfs/super.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to spufs.
Use generic_show_options() and save the complete option string in
spufs_fill_super().
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/arch/powerpc/platforms/cell/spufs/inode.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to autofs.
Use generic_show_options() and save the complete option string in
autofs_fill_super().
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/autofs/inode.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add .show_options super operation to tmpfs.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/mm/shmem.c
===
--- linux.orig/mm/shmem.c 2008-01-21 21:20:04.0 +0100
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to udf.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/udf/super.c
===
--- linux.orig/fs/udf/super.c 2008-01-24 13:48:37.0
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to usbfs.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/drivers/usb/core/inode.c
===
--- linux.orig/drivers/usb/core/inode.c 2008-01-24
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to reiserfs.
Use generic_show_options() and save the complete option string in
reiserfs_fill_super() and reiserfs_remount().
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/reiserfs/super.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to ncpfs.
Small fix: add FS_BINARY_MOUNTDATA to the filesystem type flags, since
it can take binary data, as well as text (similarly to NFS).
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index:
From: Miklos Szeredi [EMAIL PROTECTED]
Add iocharset= and errors= options to /proc/mounts for jfs
filesystems.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/jfs/super.c
===
--- linux.orig/fs/jfs/super.c
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to hugetlbfs.
Use generic_show_options() and save the complete option string in
hugetlbfs_fill_super().
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
---
Index: linux/fs/hugetlbfs/inode.c
Miklos Szeredi wrote:
Also add minor fix: when parsing the mode option, mask with
S_IALLUGO instead of ~S_IFMT, which could leave unsed bits in the
mask.
umode_t is 16 bits, so it doesn't. The change is still good, of course.
+ if (config.mode != DEVPTS_DEFAULT_MODE)
+
Miklos Szeredi wrote:
[autofs patch]
Acked-by: H. Peter Anvin [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line unsubscribe linux-fsdevel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Miklos Szeredi - Thu, Jan 24, 2008 at 08:34:06PM +0100]
| From: Miklos Szeredi [EMAIL PROTECTED]
|
| Add a .show_options super operation to udf.
|
| Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
| ---
|
| Index: linux/fs/udf/super.c
|
On Thu, Jan 24, 2008 at 08:33:44PM +0100, Miklos Szeredi wrote:
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to adfs.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
Thanks.
Acked-by: Russell King [EMAIL PROTECTED]
--
Russell King
Linux kernel2.6 ARM
[Miklos Szeredi - Thu, Jan 24, 2008 at 08:34:06PM +0100]
| From: Miklos Szeredi [EMAIL PROTECTED]
|
| Add a .show_options super operation to udf.
|
| Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
| ---
|
| Index: linux/fs/udf/super.c
|
Greetings!
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 to the misuse of fsync or due to inherent behaviour like
Hi Miklos-
Miklos Szeredi wrote:
From: Miklos Szeredi [EMAIL PROTECTED]
Add posix, bsize=, namelen= options to /proc/mounts for nfs
filesystems.
Document several other options that are still missing.
NFS lists only some options in /proc/mounts on purpose: only the
essential options are
On Thu, 2008-01-24 at 20:34 +0100, Miklos Szeredi wrote:
plain text document attachment (nfs_opts.patch)
From: Miklos Szeredi [EMAIL PROTECTED]
Add posix, bsize=, namelen= options to /proc/mounts for nfs
filesystems.
Document several other options that are still missing.
Signed-off-by:
On Wed, 2008-01-23 at 17:22 +, David Howells wrote:
The attached patch makes it possible for the NFS filesystem to make use of the
network filesystem local caching service (FS-Cache).
To be able to use this, an updated mount program is required. This can be
obtained from:
On Wed, 2008-01-23 at 17:22 +, David Howells wrote:
Changes to the kernel configuration defintions and to the NFS mount options to
allow the local caching support added by the previous patch to be enabled.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/Kconfig|8
On Thu, 2008-01-24 at 20:34 +0100, Miklos Szeredi wrote:
plain text document attachment (jfs_opts.patch)
From: Miklos Szeredi [EMAIL PROTECTED]
Add iocharset= and errors= options to /proc/mounts for jfs
filesystems.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
Acked-by: Dave Kleikamp
On Wed, 2008-01-23 at 17:22 +, David Howells wrote:
Fix a memory leak whereby multiple clientaddr=xxx mount options just overwrite
the duplicated client_address option pointer, without freeing the old memory.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/nfs/super.c |1 +
Some comments below.
This patch really ought to be broken into more manageable atomic changes
to make it easier to review, and to provide more fine-grained
explanation and rationalization for each specific change via individual
patch descriptions.
David Howells wrote:
The attached patch
El Thu, 24 Jan 2008 23:36:00 +0300, Al Boldi [EMAIL PROTECTED] escribió:
Greetings!
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
On Thu, 24 Jan 2008 23:36:00 +0300, Al Boldi said:
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 to the misuse of
On Thu, 24 Jan 2008 15:15:01 -0600 Dave Kleikamp [EMAIL PROTECTED] wrote:
On Thu, 2008-01-24 at 20:34 +0100, Miklos Szeredi wrote:
plain text document attachment (jfs_opts.patch)
From: Miklos Szeredi [EMAIL PROTECTED]
Add iocharset= and errors= options to /proc/mounts for jfs
On Jan 24, 2008 18:32 +0100, Bodo Eggert wrote:
I think a single, system-wide signal is the second-to worst solution: All
applications (or the wrong one, if you select one) would free their caches
and start to crawl, and either stay in this state or slowly increase their
caches again until
On Thu, Jan 24, 2008 at 08:34:07PM +0100, Miklos Szeredi wrote:
From: Miklos Szeredi [EMAIL PROTECTED]
Add a .show_options super operation to usbfs.
Signed-off-by: Miklos Szeredi [EMAIL PROTECTED]
Looks good to me. Do you want to take this through your tree, as it is
dependant on other
On Thu, 2008-01-24 at 13:57 -0800, Andrew Morton wrote:
My usual algorithm here is to
1: queue all the patches and send the ones which have a maintainer to
that maintainer until he merges it.
2: If the patches have a dependency upon (say) a VFS patch then I'll
merge the VFS patch
On Thu, Jan 24, 2008 at 06:32:15PM +0100, Bodo Eggert wrote:
Alan Cox [EMAIL PROTECTED] wrote:
I'd tried to advocate SIGDANGER some years ago as well, but none of
the kernel maintainers were interested. It definitely makes sense
to have some sort of mechanism like this. At the time I
On Fri, Jan 25, 2008 at 01:08:09AM +0200, Adrian Bunk wrote:
In practice, there is a small number of programs that are both the
common memory hogs and should be able to reduce their memory consumption
by 10% or 20% without big problems when requested (e.g. Java VMs,
Firefox and databases come
In message [EMAIL PROTECTED], Miklos Szeredi writes:
From: Miklos Szeredi [EMAIL PROTECTED]
This series addresses the problem of showing mount options in
/proc/mounts.
Several filesystems which use mount options, have not implemented a
.show_options superblock operation. Several others
On Thu, 2008-01-24 at 18:40 -0500, Theodore Tso wrote:
On Fri, Jan 25, 2008 at 01:08:09AM +0200, Adrian Bunk wrote:
In practice, there is a small number of programs that are both the
common memory hogs and should be able to reduce their memory consumption
by 10% or 20% without big problems
Al Boldi wrote:
Greetings!
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 to the misuse of fsync or due to inherent
Carlos Carvalho wrote:
I compiled the kernel with Ingo's CONFIG_PROVE_LOCKING and got the
below at boot. Is it a problem?
It was a problem - it has since been fixed in 2.6.23.
Patch is attached in case you're interested.
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo
On Thu, 2008-01-24 at 20:33 +0100, Miklos Szeredi wrote:
plain text document attachment (autofs4_opts.patch)
From: Miklos Szeredi [EMAIL PROTECTED]
Add uid= and gid= options to /proc/mounts for autofs4 filesystems.
Apologies, I did say I would do this but have been quite busy.
54 matches
Mail list logo