Displaying 13 results from an estimated 13 matches for "dentry_open".
2003 Sep 24
1
FS-corruption on ext3 with HTrees
...ext3 with Htrees. Here's a high level description
of what I'm doing in versionfs_unlink:
* down the isem of parent directory
* compute the name of the version file
* lookup the name using lookup_one_len
* create the version'ed file using vfs_create
* open the original file using dentry_open
* copy the data from the original file to the version file
* close the original file and version file
* upping the isem of the parent directory
* call vfs_unlink as it would have been called normally
Let me know if I'm doing something wrong.
Thanks,
Kiran,
SUNY Stony Brook.
2009 May 26
4
Oops on a converted ext4 system
I converted an ext4 filesystem with btrfs-convert, mounted it, and wanted to do "lzop -d ...".
The result was an immediate Oops (btrfs is on LVM, on dm-crypt, on /dev/sdb which is USB-connected).
mini-904.img.lzo dentry_open failed
BUG: unable to handle kernel paging request at ffffffcd
IP: [<c01b5f36>] fput+0x6/0x30
*pde = 00575067 *pte = 00000000
Oops: 0002 [#1] SMP
last sysfs file: /sys/block/sda/removable
Modules linked in: kqemu sha256_generic aes_i586 aes_generic cbc usb_storage dm_crypt btrfs zlib_deflate...
2013 Apr 07
2
"btrfs send" fails with having too many open fd's
Hi there,
i''m trying to send/receive a snapshot of my home dir for some time now,
but in the end it always fails because the maximum number of open fd''s
is exceeded.
Kern log says:
"6,7226,15012711248,-;VFS: file-max limit 799969 reached"
My setup is as follows:
Kernel: 3.9-rc5
btrfs-progs: compiled from git commit: commit
2002 Feb 12
1
2.4.17: BUG()at transaction.c:609
...les/2.4.17/kernel/net/unix/unix.o_M+-1608504/96] [unix:__insmod_unix_O/lib/modules/2.4.17/kernel/net/unix/unix.o_M+-1608260/96] [filldir+174/224] [__mark_inode_dirty+46/160]
[update_atime+81/96] [unix:__insmod_unix_O/lib/modules/2.4.17/kernel/net/unix/unix.o_M+-1627672/96] [open_namei+805/1680] [dentry_open+171/400] [kfree_skbmem+12/112] [filldir+0/224]
[vfs_readdir+126/208] [filldir+0/224] [sys_getdents+71/160] [filldir+0/224] [system_call+51/56]
Code: 0f 0b 5f 58 8b 54 24 24 bb e2 ff ff ff b8 01 00 00 00 f6 42
2005 Dec 18
1
Debian DomU with physdev access init kernel crash ....
...gt;] do_page_fault+0x4b4/0x761
[<c0109c37>] error_code+0x2b/0x30
[<c020543f>] vc_allocate+0x8f/0x150
[<c02083d8>] con_open+0x48/0xb0
[<c01f8b60>] tty_open+0x1b0/0x330
[<c016d3f3>] chrdev_open+0xb3/0x1a0
[<c016271b>] dentry_open+0x19b/0x210
[<c016257a>] filp_open+0x5a/0x60
[<c0162996>] sys_open+0x46/0x90
[<c0109a81>] syscall_call+0x7/0xb
Code: 05 01 d0 ff 88 e0 00 00 00 83 3a 02 0f 84 c6 00 00 00 8b 15 6c 9b 35 c0 89 53 28 8b 04 bd c0 ac 35 c0 85 c0 74 05 89 43 28 89 c2 <...
2005 Dec 18
1
Debian DomU with physdev access init kernel crash ....
...gt;] do_page_fault+0x4b4/0x761
[<c0109c37>] error_code+0x2b/0x30
[<c020543f>] vc_allocate+0x8f/0x150
[<c02083d8>] con_open+0x48/0xb0
[<c01f8b60>] tty_open+0x1b0/0x330
[<c016d3f3>] chrdev_open+0xb3/0x1a0
[<c016271b>] dentry_open+0x19b/0x210
[<c016257a>] filp_open+0x5a/0x60
[<c0162996>] sys_open+0x46/0x90
[<c0109a81>] syscall_call+0x7/0xb
Code: 05 01 d0 ff 88 e0 00 00 00 83 3a 02 0f 84 c6 00 00 00 8b 15 6c 9b 35 c0 89 53 28 8b 04 bd c0 ac 35 c0 85 c0 74 05 89 43 28 89 c2 <...
2005 Dec 15
0
Kernel panic in usbserial.
...14 23:58:10 smarteyebox kernel: [<e0b172d5>] serial_open+0x95/0xd9 [usbserial]
Dec 14 23:58:10 smarteyebox kernel: [<c0223c23>] tty_open+0x182/0x3a6
Dec 14 23:58:10 smarteyebox kernel: [<c01724cc>] chrdev_open+0x325/0x3b9
Dec 14 23:58:10 smarteyebox kernel: [<c0167287>] dentry_open+0xbd/0x180
Dec 14 23:58:10 smarteyebox kernel: [<c01671c4>] filp_open+0x36/0x3c
Dec 14 23:58:10 smarteyebox kernel: [<c030e078>] __cond_resched+0x14/0x3b
Dec 14 23:58:10 smarteyebox kernel: [<c01e5d8e>] direct_strncpy_from_user+0x3e/0x5d
Dec 14 23:58:10 smarteyebox kernel: [&l...
2006 Jan 09
0
Kernel panic in usbserial - now in 2.6.9-22.0.1.106.unsupported, previous in 2.6.9-22.0.1.EL
...14 23:58:10 smarteyebox kernel: [<e0b172d5>] serial_open+0x95/0xd9 [usbserial]
Dec 14 23:58:10 smarteyebox kernel: [<c0223c23>] tty_open+0x182/0x3a6
Dec 14 23:58:10 smarteyebox kernel: [<c01724cc>] chrdev_open+0x325/0x3b9
Dec 14 23:58:10 smarteyebox kernel: [<c0167287>] dentry_open+0xbd/0x180
Dec 14 23:58:10 smarteyebox kernel: [<c01671c4>] filp_open+0x36/0x3c
Dec 14 23:58:10 smarteyebox kernel: [<c030e078>] __cond_resched+0x14/0x3b
Dec 14 23:58:10 smarteyebox kernel: [<c01e5d8e>] direct_strncpy_from_user+0x3e/0x5d
Dec 14 23:58:10 smarteyebox kernel: [&l...
2013 Oct 25
1
[PATCH] Btrfs: stop using vfs_read in send
...->sb, &key, sctx->send_root,
- &new);
- if (IS_ERR(inode)) {
- ret = PTR_ERR(inode);
- goto out;
- }
-
- dentry = d_obtain_alias(inode);
- inode = NULL;
- if (IS_ERR(dentry)) {
- ret = PTR_ERR(dentry);
- goto out;
- }
-
- path.mnt = sctx->mnt;
- path.dentry = dentry;
- filp = dentry_open(&path, O_RDONLY | O_LARGEFILE, current_cred());
- dput(dentry);
- dentry = NULL;
- if (IS_ERR(filp)) {
- ret = PTR_ERR(filp);
- goto out;
- }
- sctx->cur_inode_filp = filp;
-
-out:
- /*
- * no xxxput required here as every vfs op
- * does it by itself on failure
- */
- return ret;
-}
-...
2002 Jan 21
2
Assertion Failure
I got this.. The system was usuable, but not very. If I tried to access the
ext3 volume, it would hang. Reboot hung too, complaining about too many
open files. Any ideas? I have no idea what triggered it; this is a big
file/web/mail server, with all of that on the ext3 volume. And I've never
run ksymoops before, but I think I did it right.
- Josh
Assertion failure in
2013 Apr 13
0
btrfs crash (and softlockup btrfs-endio-wri)
...54 datastore01 kernel: [1210991.390852] [<ffffffff811c815d>] vfs_fsync_range+0x1d/0x30
Apr 13 04:05:54 datastore01 kernel: [1210991.390860] [<ffffffffa05550df>] nfsd_vfs_write.isra.12+0x2cf/0x3d0 [nfsd]
Apr 13 04:05:54 datastore01 kernel: [1210991.390865] [<ffffffff8119848f>] ? dentry_open+0x5f/0xf0
Apr 13 04:05:54 datastore01 kernel: [1210991.390872] [<ffffffffa0555edc>] ? nfsd_open+0x11c/0x1b0 [nfsd]
Apr 13 04:05:54 datastore01 kernel: [1210991.390878] [<ffffffffa0557609>] nfsd_write+0xf9/0x110 [nfsd]
Apr 13 04:05:54 datastore01 kernel: [1210991.390886] [<ffffffff...
2007 Feb 05
1
kernel error -- system crash
...itev+0x0/0xb3
Feb 4 00:08:24 server1 kernel: [<c016c605>] do_readv_writev+0x1c5/0x245
Feb 4 00:08:24 server1 kernel: [<c016c0f2>] do_sync_write+0x0/0xc9
Feb 4 00:08:24 server1 kernel: [<c0317627>] __cond_resched+0x14/0x3b
Feb 4 00:08:24 server1 kernel: [<c016b335>] __dentry_open+0xca/0x16a
Feb 4 00:08:24 server1 kernel: [<c016b266>] dentry_open+0x48/0x4d
Feb 4 00:08:24 server1 kernel: [<c016c703>] vfs_writev+0x3e/0x43
Feb 4 00:08:24 server1 kernel: [<f8b39600>] nfsd_write+0xeb/0x28f [nfsd]
Feb 4 00:08:24 server1 kernel: [<c0317627>] __cond_r...
2009 Jan 28
2
[PATCH] fs: Add new pre-allocation ioctls to vfs for compatibility with legacy xfs ioctls
...struct file *filp);
+extern int do_fallocate(struct file *file, int mode, loff_t offset,
+ loff_t len);
extern long do_sys_open(int dfd, const char __user *filename, int flags,
int mode);
extern struct file *filp_open(const char *, int, int);
@@ -1702,6 +1704,10 @@ extern struct file * dentry_open(struct
extern int filp_close(struct file *, fl_owner_t id);
extern char * getname(const char __user *);
+/* fs/ioctl.c */
+
+extern int ioctl_preallocate(struct file *filp, unsigned long arg);
+
/* fs/dcache.c */
extern void __init vfs_caches_init_early(void);
extern void __init vfs_caches_...