Displaying 20 results from an estimated 23 matches for "deactivate_super".
2008 Aug 19
0
[PATCH] Reinstate '-osubvol=.' option to mount entire tree
...pe, int flags,
s->s_flags |= MS_ACTIVE;
}
- mutex_lock(&s->s_root->d_inode->i_mutex);
- root = lookup_one_len(subvol_name, s->s_root, strlen(subvol_name));
- mutex_unlock(&s->s_root->d_inode->i_mutex);
- if (IS_ERR(root)) {
- up_write(&s->s_umount);
- deactivate_super(s);
- error = PTR_ERR(root);
- goto error;
- }
- if (!root->d_inode) {
- dput(root);
- up_write(&s->s_umount);
- deactivate_super(s);
- error = -ENXIO;
- goto error;
+ if (!strcmp(subvol_name, "."))
+ root = dget(s->s_root);
+ else {
+ mutex_lock(&s->s_root-&g...
2007 Aug 23
2
give me some works
hello, Chris
In the next several months, I will have a lot of spare time. I will
be happy if you assign some work to me. I have learn linux kernel
for years but only fix a few small bugs in IP stack. In the past few
months, I read some EXT4/VFS codes. I began reading source of btrfs
ten days ago and have read it twice now.
Regards
YZ
2014 Mar 12
2
[PATCH v6 04/11] qspinlock: Optimized code path for 2 contending tasks
...rink_dcache_for_umount+0x75/0x120
[ 1529.936714] [<ffffffff811adf21>] generic_shutdown_super+0x21/0xf0
[ 1529.936714] [<ffffffff811ae207>] kill_block_super+0x27/0x70
[ 1529.936714] [<ffffffff811ae4ed>] deactivate_locked_super+0x3d/0x60
[ 1529.936714] [<ffffffff811aea96>] deactivate_super+0x46/0x60
[ 1529.936714] [<ffffffff811ca277>] mntput_no_expire+0xa7/0x140
[ 1529.936714] [<ffffffff811cb6ce>] SyS_umount+0x8e/0x100
[ 1529.936714] [<ffffffff815d2c29>] system_call_fastpath+0x16/0x1b
[ 1529.936714] Code: 00 00 48 8b 40 28 4c 8b 08 48 8b 43 30 48 85 c0 74
2a 48...
2014 Mar 12
2
[PATCH v6 04/11] qspinlock: Optimized code path for 2 contending tasks
...rink_dcache_for_umount+0x75/0x120
[ 1529.936714] [<ffffffff811adf21>] generic_shutdown_super+0x21/0xf0
[ 1529.936714] [<ffffffff811ae207>] kill_block_super+0x27/0x70
[ 1529.936714] [<ffffffff811ae4ed>] deactivate_locked_super+0x3d/0x60
[ 1529.936714] [<ffffffff811aea96>] deactivate_super+0x46/0x60
[ 1529.936714] [<ffffffff811ca277>] mntput_no_expire+0xa7/0x140
[ 1529.936714] [<ffffffff811cb6ce>] SyS_umount+0x8e/0x100
[ 1529.936714] [<ffffffff815d2c29>] system_call_fastpath+0x16/0x1b
[ 1529.936714] Code: 00 00 48 8b 40 28 4c 8b 08 48 8b 43 30 48 85 c0 74
2a 48...
2013 Feb 07
1
[PATCH] Btrfs: cleanup orphan reservation if truncate fails
I noticed we were getting lots of warnings with xfstest 83 because we have
reservations outstanding. This is because we moved the orphan add outside
of the truncate, but we don''t actually cleanup our reservation if something
fails. This fixes the problem and I no longer see warnings. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
---
fs/btrfs/inode.c | 2 ++
1
2006 Nov 03
2
Newbie questions -- is OCFS2 what I even want?
Dear Sirs and Madams,
I run a small visual effects production company, Hammerhead Productions.
We'd like to have an easily extensible inexpensive relatively
high-performance
storage network using open-source components. I was hoping that OCFS2
would be that system.
I have a half-dozen 2 TB fileservers I'd like the rest of the network to see
as a single 12 TB disk, with the aggregate
2007 Jul 27
0
centos5: NFS panic during unmount
...t noticed a NFS panic on centos5 (no updates applied yet). I don't have
the serial console attached yet to get the exact stack.
However, here is the stack:
shrink_dcache_for_umount
generic_shutdown_super
kill_anon_super
nfs_kill_super
deactivate_super
mntput_no_expire
do_exit
sys_exit_group
sys_exit_group
syscall_call . . . EIP: shrink_dcache_for_umount_subtree
[root at xx]# uname -a
Linux xx 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386
GNU/Linux
While I plan to instal...
2008 Mar 06
0
oss umount hangs forever
...ass_manual_cleanup+0x319/0xf70
[46237.886137] [<ffffffff882707a1>] :obdclass:server_put_super+0xb61/0xf70
[46237.893111] [<ffffffff80271942>] generic_shutdown_super+0x60/0xf1
[46237.899584] [<ffffffff802719fa>] kill_anon_super+0x9/0x35
[46237.905263] [<ffffffff80271aab>] deactivate_super+0x6a/0x82
[46237.911204] [<ffffffff80284195>] sys_umount+0x21b/0x24e
[46237.916751] [<ffffffff802094de>] system_call+0x7e/0x83
[46237.922218] [<00002b0aadea7789>]
Thanks,
Bernd
--
Bernd Schubert
Q-Leap Networks GmbH
2014 Mar 13
0
[PATCH v6 04/11] qspinlock: Optimized code path for 2 contending tasks
...nt+0x75/0x120
> [ 1529.936714] [<ffffffff811adf21>] generic_shutdown_super+0x21/0xf0
> [ 1529.936714] [<ffffffff811ae207>] kill_block_super+0x27/0x70
> [ 1529.936714] [<ffffffff811ae4ed>] deactivate_locked_super+0x3d/0x60
> [ 1529.936714] [<ffffffff811aea96>] deactivate_super+0x46/0x60
> [ 1529.936714] [<ffffffff811ca277>] mntput_no_expire+0xa7/0x140
> [ 1529.936714] [<ffffffff811cb6ce>] SyS_umount+0x8e/0x100
> [ 1529.936714] [<ffffffff815d2c29>] system_call_fastpath+0x16/0x1b
> It was more readily reproducible in a KVM guest. It was ha...
2015 Sep 10
0
NFS client kernel panic
...>] shrink_dcache_for_umount+0x49/0x60
[<ffffffff811c8fe1>] generic_shutdown_super+0x21/0xe0
[<ffffffff811c9282>] kill_anon_super+0x12/0x20
[<ffffffffa041827b>] nfs_kill_super+0x1b/0x30 [nfs]
[<ffffffff811c962d>] deactivate_locked_super+0x3d/0x60
[<ffffffff811c9c36>] deactivate_super+0x46/0x60
[<ffffffff811e6ac5>] mntput_no_expire+0xc5/0x120
SELinux: initialized (dev 0:40, type nfs4), uses genfs_contexts
[<ffffffff811e7bff>] SyS_umount+0x9f/0x3c0
[<ffffffff81614de9>] system_call_fastpath+0x16/0x1b
Code: 00 00 48 8b 40 28 4c 8b 08 48 8b 43 30 48 85 c0 74 1b 48...
2004 Mar 22
1
Assertion failure in ext3_put_super() at fs/ext3/super.c:412
...400
c0329ca0
~ c0157526 cf8e5400 cf8e5400 cf824060 c0329e20 c015811d cf8e5400 0804d218
~ cf8e5400 c1fb6000 c015725f cf8e5400 c03bfee0 00000000 c1fb7f7c 0804d218
~ Call Trace:
~ [<c0157526>] generic_shutdown_super+0x176/0x190
~ [<c015811d>] kill_block_super+0x1d/0x40
~ [<c015725f>] deactivate_super+0x5f/0xc0
~ [<c016d4af>] sys_umount+0x3f/0xa0
~ [<c016d525>] sys_oldumount+0x15/0x20
~ [<c010908b>] syscall_call+0x7/0xb
~ Code: 0f 0b 9c 01 2e 70 2f c0 e9 60 ff ff ff 89 74 24 04 89 3c 24
- -------------------------------
the filesystem here was existing for a year now, passed...
2004 May 23
2
ext3 htree issues
Hi Guys,
I am running ext3 on kernel v2.6.5.
I have an ext3 filesystem with dir_index and data=journal for
/var/spool/exim
Today I noticed in the exim logs a bunch of 'failed to unlink
/var/spool/exim/input/P/1BRbSP-0006hy-Jp-D'
I also noticed these in the kernel logs:
EXT3-fs warning (device hda12): ext3_unlink: Deleting nonexistent file
(612870), 0
EXT3-fs warning (device hda12):
2012 Jan 25
0
[3.2.1] kernel BUG at fs/btrfs/disk-io.c:2835!
...be>] __sync_filesystem+0x5e/0x90
[<ffffffff81102a53>] sync_filesystem+0x43/0x60
[<ffffffff810dc226>] generic_shutdown_super+0x36/0xe0
[<ffffffff810dc361>] kill_anon_super+0x11/0x20
[<ffffffff810dc715>] deactivate_locked_super+0x45/0x80
[<ffffffff810dd115>] deactivate_super+0x45/0x60
[<ffffffff810f753d>] mntput_no_expire+0x9d/0xf0
[<ffffffff810f837a>] sys_umount+0x6a/0x380
[<ffffffff814e6e7b>] system_call_fastpath+0x16/0x1b
Code: 33 00 e9 7e fd ff ff 44 89 ce 48 c7 c7 80 a4 78 81 31 c0 e8 04 ea 32 00 0f 0b 8b 75 b8 48 c7 c7 80 a4 78 81 31 c0...
2012 Sep 17
2
'umount' of multi-device volume hangs until the device is physically un-plugged
...generic_shutdown_super+0x61/0xe0
[ 469.038222] [<ffffffff81191726>] kill_anon_super+0x16/0x30
[ 469.038239] [<ffffffffa054134a>] btrfs_kill_super+0x1a/0x90 [btrfs]
[ 469.038246] [<ffffffff81191aa7>] deactivate_locked_super+0x57/0x90
[ 469.038252] [<ffffffff8119265e>] deactivate_super+0x4e/0x70
[ 469.038260] [<ffffffff811acf37>] mntput_no_expire+0xd7/0x130
[ 469.038267] [<ffffffff811adf16>] sys_umount+0x76/0x390
[ 469.038273] [<ffffffff81627969>] system_call_fastpath+0x16/0x1b
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs&q...
2009 Feb 06
2
Xen pv_ops domU :: BUG() in remove_from_page_cache()
...[<ffffffff810f0ce1>] invalidate_inodes+0xdc/0xfa
[<ffffffff810e0dea>] generic_shutdown_super+0x4a/0xe8
[<ffffffff810e0eaa>] kill_block_super+0x22/0x3a
[<ffffffff810e0f91>] deactivate_super+0x68/0x7d
[<ffffffff810f3f6d>] mntput_no_expire+0x10d/0x14e
[<ffffffff810dfd22>] __fput+0x18a/0x197
[<ffffffff810dfd47>] fput+0x18/0x1a...
2011 Sep 27
2
high CPU usage and low perf
...c_filesystem+0x4c/0x50
[515954.295050] [<ffffffff811151d8>] ? generic_shutdown_super+0x38/0xf6
[515954.295050] [<ffffffff81115316>] ? kill_anon_super+0x16/0x50
[515954.295050] [<ffffffff81115540>] ? deactivate_locked_super+0x26/0x4b
[515954.295050] [<ffffffff81115d5d>] ? deactivate_super+0x3a/0x3e
[515954.295050] [<ffffffff8112b368>] ? mntput_no_expire+0xd0/0xd5
[515954.295050] [<ffffffff8112c06f>] ? sys_umount+0x2ee/0x31c
[515954.295050] [<ffffffff81375002>] ? system_call_fastpath+0x16/0x1b
Last time it happened, I hard rebooted the system, and it was
fine fo...
2009 Feb 26
2
BUG: Mount/Unmount Loop
...00000000000d23e8>] __fsync_super+0x30/0xfc
[ 121.452309] [<00000000000d24d2>] fsync_super+0x1e/0x30
[ 121.452330] [<00000000000d28c6>] generic_shutdown_super+0x3e/0x1a4
[ 121.452352] [<00000000000d2a96>] kill_anon_super+0x1e/0x60
[ 121.452373] [<00000000000d2bb6>] deactivate_super+0x9a/0xc4
[ 121.452394] [<00000000000ec3a0>] SyS_umount+0x35c/0x38c
[ 121.452415] [<00000000000266e2>] sysc_noemu+0x10/0x16
[ 121.452438] [<0000000077f403ea>] 0x77f403ea
[ 121.452459] Last Breaking-Event-Address:
[ 121.452470] [<0000000000000000>] 0x0
[ 121.452486]...
2011 Feb 09
1
warning in btrfs_free_block_groups
...spose_list+0xaa/0xc0
[<ffffffff8114a040>] btrfs_put_super+0x18/0x27
[<ffffffff810ac3a2>] generic_shutdown_super+0x66/0xe1
[<ffffffff810ac468>] kill_anon_super+0x11/0x49
[<ffffffff810ab6fa>] deactivate_locked_super+0x21/0x41
[<ffffffff810abba6>] deactivate_super+0x40/0x44
[<ffffffff810bfcfe>] mntput_no_expire+0xdd/0x10b
[<ffffffff810c0276>] sys_umount+0x2d2/0x2fd
[<ffffffff810028bb>] system_call_fastpath+0x16/0x1b
---[ end trace 3f9c8cf600895a9f ]---
space_info has 1751910400 free, is not full
space_info total=5...
2009 Jun 09
4
[PATCH] btrfs: fix write_dev_supers
...33 dl580 kernel: [<ffffffff802a8c97>] fsync_super+0x11/0x22
Jun 9 00:41:33 dl580 kernel: [<ffffffff802a8ea9>] generic_shutdown_super+0x26/0xe2
Jun 9 00:41:33 dl580 kernel: [<ffffffff802a8fb6>] kill_anon_super+0x17/0x3b
Jun 9 00:41:33 dl580 kernel: [<ffffffff802a92e8>] deactivate_super+0x62/0x77
Jun 9 00:41:33 dl580 kernel: [<ffffffff802bb7ae>] mntput_no_expire+0xec/0x12c
Jun 9 00:41:33 dl580 kernel: [<ffffffff802bbcff>] sys_umount+0x2c5/0x31c
Jun 9 00:41:33 dl580 kernel: [<ffffffff8020aeeb>] system_call_fastpath+0x16/0x
Jun 9 00:41:33 dl580 kernel: Code:...
2008 Jun 24
1
[RFC][PATCH] btrfs orphan code
...Tue Jun 24 21:04:39 2008 -0400
@@ -339,6 +339,7 @@ static int btrfs_fill_super(struct super
goto fail_close;
}
+
/* this does the super kobj at the same time */
err = btrfs_sysfs_add_super(tree_root->fs_info);
if (err)
@@ -467,6 +468,22 @@ static int btrfs_get_sb(struct file_syst
deactivate_super(s);
error = -ENXIO;
goto error;
+ }
+
+ /* we don''t want to do orphan stuff on a rdonly fs */
+ if (!(s->s_flags & MS_RDONLY)) {
+ struct btrfs_root *tree_root = BTRFS_I(root->d_inode)->root;
+ struct inode *orphan_dir;
+
+ orphan_dir = btrfs_lookup_orphan_dir(tree_ro...