Displaying 20 results from an estimated 1200 matches similar to: "[BUG] [PATCH]: handling bad inodes in 2.4.x kernels"
2009 Apr 06
0
[PATCH] ocfs2: Use nd_set_link().
ocfs2 was hand-calling vfs_follow_link(), but there's no point to that.
Let's use page_follow_link_light() and nd_set_link().
Signed-off-by: Joel Becker <joel.becker at oracle.com>
---
fs/ocfs2/symlink.c | 77 +++++++++++++++++++++++++---------------------------
1 files changed, 37 insertions(+), 40 deletions(-)
diff --git a/fs/ocfs2/symlink.c b/fs/ocfs2/symlink.c
index
2007 Feb 15
2
Re: [Linux-HA] OCFS2 - Memory hog?
Yes, the clients are doing lots of creates.
But my question is, if this is a memory leak, why does ocfs2 eat up the
memory as soon as the clients start accessing the filesystem. Within
about 5-10 minutes all physical RAM is consumed but then the memory
consumption stops. It does not go into swap.
Do you happen to know what version of ocfs2 has the fix?
If it was a leak would the process not be
2001 Mar 13
5
is this null block OK?
Hi,
A system running ext3 crashed this afternoon (nothing to do with ext3, bad
network driver). Is was saving a file from emacs when it happened. The
file system is 0.06b and had ordered data as the mount option. Let me
emphasize this was running ext3 pure, not with SnapFS or InterMezzo layered
on top of it.
strace reveals that Emacs does
open("existing file name", O_TRUNC |
2003 Jan 16
0
[PATCH] Using qstr in ext3_get_parent()
Hi
In ext3_get_parent(), quick string (struct qstr) can do the job, in place
of declaring a dentry on stack. Following patch does this and saves few
bytes on kernel stack.
Thanks,
Maneesh
namei.c | 69 ++++++++++++++++++++++++++++++----------------------------------
1 files changed, 33 insertions(+), 36 deletions(-)
diff -urN linux-2.5.58-base/fs/ext3/namei.c
2010 Oct 25
2
[PATCH] Btrfs: allow subvol deletion by unprivileged user with -o user_subvol_rm_allowed
Add a mount option user_subvol_rm_allowed that allows users to delete a
(potentially non-empty!) subvol when they would otherwise we allowed to do
an rmdir(2). We duplicate the may_delete() checks from the core VFS code
to implement identical security checks (minus the directory size check).
Signed-off-by: Sage Weil <sage@newdream.net>
---
fs/btrfs/ctree.h | 1 +
fs/btrfs/ioctl.c |
2006 Apr 09
0
Slab memory usage on dom0 increases by 128MB/day
Hello.
I''m running Xen 3.0.1 on the following hardware:
Dell SC1425 Rack Server
1x Intel Xeon 2.8GHz (64bit on 32bit OS/Xen) Hyper-threading enabled
2GB memory
80+250GB SATA hard drives (sda, sdb)
Debian Sarge on dom0. Different Debian versions on virtual servers.
This is running as a virtualized web server. It''s hosting four virtual
servers. 256MB memory is reserved to dom0
2009 Jan 28
2
[PATCH] fs: Add new pre-allocation ioctls to vfs for compatibility with legacy xfs ioctls
Al, Could this be included in the vfs queue?
This patch adds ioctls to vfs for compatibility with legacy XFS
pre-allocation ioctls (XFS_IOC_*RESVP*). The implementation
effectively invokes sys_fallocate for the new ioctls.
Also handles the compat_ioctl case.
Note: These legacy ioctls are also implemented by OCFS2.
Signed-off-by: Ankit Jain <me at ankitjain.org>
Reviewed-by: Christoph
1999 May 14
1
Linux-2.3.1 fs/smbfs/inode.c
Hi. Trying to compile linux 2.3.1 fs/smbfs/inode.c seemed to have a
parse error, missing a semi-colon. Here is the patch for it. You were
listed as the maintainer for smbfs.
Adam
--- linux/fs/smbfs/inode.c Fri May 14 13:19:23 1999
+++ linux-2.3.1/fs/smbfs/inode.c Fri May 14 13:23:43 1999
@@ -88,7 +88,7 @@
result->i_op = &smb_dir_inode_operations;
else
result->i_op =
2001 Dec 07
1
chown/quota bug in ext3
Hi,
there appears to be a bug w.r.t. chown and quotas in ext3.
In particular, if you "chown" a file on a filesystem with userquotas
enabled, the quota charge in not transfered.
ditto "chgrp" and group quotas.
This happens because i_op->setattr has been redefined for files, and
ext3_setattr doesn't do the DQUOT_TRANSFER like it should.
I have fixed it by adding a
2004 Jun 14
0
[PATCH] dcache.c polishing
kill dead ocfs_empty stuff, cleanup d_revalidate handling.
Index: dcache.c
===================================================================
--- dcache.c (revision 1091)
+++ dcache.c (working copy)
@@ -44,24 +44,11 @@
#define OCFS_DEBUG_CONTEXT OCFS_DEBUG_CONTEXT_DCACHE
-static int ocfs_empty_func(struct dentry *dentry, void *ignore);
-
-/*
- * ocfs_dentry_revalidate()
- *
- */
-#if
2004 Dec 24
0
dst cache overflow in 2.6.8
There appears to be a pretty serious router bug in kernel 2.6.8. One
reference to it is here:
http://www.debiantalk.com/_Bug279666_kernel-image-2_6_8-1-k7_Runs_out_of_network_buffers-10116882-5788-a.html
and a followup that it may now be fixed in later kernels here:
http://lists.debian.org/debian-kernel/2004/12/msg00233.html.
This is my personal experience with it....
My router fails few
2008 Aug 19
0
[PATCH] Reinstate '-osubvol=.' option to mount entire tree
This disappeared when I removed the special case for ''.'' in btrfs_lookup()
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
---
super.c | 34 +++++++++++++++++++---------------
1 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/super.c b/super.c
index 55f4d00..f7b3eac 100644
--- a/super.c
+++ b/super.c
@@ -451,21 +451,25 @@ static int
2004 Oct 07
1
kmem_cache_destroy: Can't free all objects
Hello!
I am writing a FS filter that will be above the ext3 filesystem.
For my own purposes I need severl bytes in inode. There are not enough space
current inode so I need to create my own inode functions alloc_inode() &
destroy_inode().
The problem causes when destroying slab cache at removing my module (rmmod).
kmem_cache_destroy: Can't free all objects
What I do:
- install my
2024 Oct 29
1
[PATCH 2/2] [v8] drm/nouveau: expose GSP-RM logging buffers via debugfs
On Thu, 2024-10-03 at 23:48 +0200, Danilo Krummrich wrote:
> > +#ifdef CONFIG_DEBUG_FS
> > + /*
> > + * Logging buffers in debugfs. The wrapper objects need to remain
> > + * in memory until the dentry is deleted.
> > + */
> > + struct dentry *dir; /* Parent dentry */
> > + struct dentry *dir_init;
> > + struct dentry *dir_rm;
> > + struct
2018 Jul 27
0
Finding memory usage
On 07/27/2018 08:10 AM, Bowie Bailey wrote:
> The problem is that I can't find 2.4G of usage.
Are your results from "top" similar to:
? ps axu | sort -nr -k +6
If you don't see 2.4G of use from applications, maybe the kernel is
using a lot of memory.? Check /proc/slabinfo.? You can simplify its
content to bytes per object type and a total:
? grep -v ^# /proc/slabinfo
2018 Jul 27
1
Finding memory usage
On 7/27/2018 12:13 PM, Gordon Messmer wrote:
> On 07/27/2018 08:10 AM, Bowie Bailey wrote:
>> The problem is that I can't find 2.4G of usage.
>
>
> Are your results from "top" similar to:
>
> ? ps axu | sort -nr -k +6
That looks the same.
>
> If you don't see 2.4G of use from applications, maybe the kernel is
> using a lot of memory.? Check
2010 Jun 17
1
kjournald blocked in D state
I have a system on which kjournald becomes blocked in D state quite often.
Looking at a core file we have 5 mounted ext3 filesystems:
crash> mount
VFSMOUNT SUPERBLK TYPE DEVNAME DIRNAME
10037e07b00 10037e4ec00 rootfs rootfs /
10037e07ec0 10037e4e400 proc /proc /proc
10037e07d40 102188abc00 tmpfs
2010 Nov 17
0
[PATCH] Btrfs: handle NFS lookups properly
People kept reporting NFS issues, specifically getting ESTALE alot. I figured
out how to reproduce the problem
SERVER
mkfs.btrfs /dev/sda1
mount /dev/sda1 /mnt/btrfs-test
<add /mnt/btrfs-test to /etc/exports>
btrfs subvol create /mnt/btrfs-test/foo
service nfs start
CLIENT
mount server:/mnt/btrfs /mnt/test
cd /mnt/test/foo
ls
SERVER
echo 3 > /proc/sys/vm/drop_caches
CLIENT
ls
2024 Oct 03
1
[PATCH 2/2] [v8] drm/nouveau: expose GSP-RM logging buffers via debugfs
On Tue, Sep 10, 2024 at 04:56:16PM -0500, Timur Tabi wrote:
> The LOGINIT, LOGINTR, LOGRM, and LOGPMU buffers are circular buffers
> that have printf-like logs from GSP-RM and PMU encoded in them.
>
> LOGINIT, LOGINTR, and LOGRM are allocated by Nouveau and their DMA
> addresses are passed to GSP-RM during initialization. The buffers are
> required for GSP-RM to initialize
2012 Feb 10
0
[PATCH] btrfs: honor umask when creating subvol root
Set the subvol root inode permissions based on the current umask.
---
fs/btrfs/inode.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 32214fe..b88e71a 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -6696,8 +6696,10 @@ int btrfs_create_subvol_root(struct btrfs_trans_handle *trans,
int err;
u64 index = 0;
-