search for: namelen

Displaying 20 results from an estimated 146 matches for "namelen".

Did you mean: name_len
2012 Feb 10
13
can't read superblock (but could mount)
Hi! I used to have arch linux running on 1 btrfs partition (sda1, incl. /boot). When switching to 3.2.5 recently the system fails to boot: (after udevd) /etc/rc.sysinit: line 15: 117 Bus error mountpoint -q /proc and so on, no idea. It used to boot with 3.2.4, but 1) I obviously had some corruption in the tree, when I tried to delete a certain file I hit e.g. "kernel BUG at
2009 Jul 07
1
Ghost file.
...-empty/garbage-1/mwave.h.tmp-31838-1822528541 It has a name, but stat fails (so no inode, I guess). Also I can create another file with the same name in the directory. I cannot remove the file, or containing directory. fsck output: root 5 inode 273 errors 0 unresolved ref dir 270 index 2 namelen 4 name attr filetype 0 error 3 root 5 inode 274 errors 0 unresolved ref dir 271 index 2 namelen 2 name cs filetype 0 error 3 root 5 inode 275 errors 0 unresolved ref dir 271 index 3 namelen 2 name de filetype 0 error 3 root 5 inode 276 errors 0 unresolved ref dir 271 index 4...
2009 Feb 26
13
o2dlm mle hash patches - round 2
The changes from the last drop are: 1. Patch 11 removes struct dlm_lock_name. 2. Patch 12 is an unrelated bugfix. Actually is related to a bugfix that we are retracting in mainline currently. The patch may need more testing. While I did hit the condition in my testing, Marcos hasn't. I am sending it because it can be queued for 2.6.30. Give us more time to test. 3. Patch 13 will be useful
2013 Sep 22
10
[PATCH] Btrfs: fix sync fs to actually wait for all data to be persisted
...ified after mounting the filesystem and through btrfs-debug-tree: $ btrfs-debug-tree /dev/sdb3 | egrep ''\(257 INODE_ITEM 0\) itemoff'' -B 3 -A 8 item 3 key (256 DIR_INDEX 2) itemoff 3751 itemsize 36 location key (257 INODE_ITEM 0) type FILE namelen 6 datalen 0 name: foobar item 4 key (257 INODE_ITEM 0) itemoff 3591 itemsize 160 inode generation 7 transid 7 size 0 block group 0 mode 100644 links 1 item 5 key (257 INODE_REF 256) itemoff 3575 itemsize 16 inode ref index 2 namelen 6 name: foobar che...
2006 Sep 18
1
BSD Auth: set child environment variables requested by login script [PATCH]
...After the call to auth_close(), these variables are in the + * current environment if the login script has requested them. + */ +void +bsdauth_child_set_env(char ***envp, u_int *envsizep) +{ + extern char **environ; + char name[8*1024]; /* MAXSPOOLSIZE in auth_session_t */ + char *value; + u_int i, namelen; + + for (i = 0; environ[i] != NULL; i++) { + namelen = strcspn(environ[i], "="); + if (namelen + 1 > sizeof(name)) + continue; + snprintf(name, namelen + 1, "%s", environ[i]); + value = environ[i] + namelen + 1; + if (strncmp(name, "X_BSD_AUTH", 10) == 0) +...
2009 Feb 03
10
Convert mle list to a hash
These patches convert the mle list to a hash. The same patches apply on ocfs2 1.4 too. Currently, we use the same number of hash pages for mles and lockres'. This will be addressed in a future patch that will make both of them configurable. Sunil
2018 Jan 31
2
df does not show full volume capacity after update to 3.12.4
...he find /var/lib/glusterd/vols -type f|xargs sed -i -e 's/option shared-brick-count [0-9]*/option shared-brick-count 1/g' Should I go ahead and do this? Output of stat ?f for all the bricks: [root at jacen ~]# stat -f /bricks/data_A* File: "/bricks/data_A1" ID: 80100000000 Namelen: 255 Type: xfs Block size: 4096 Fundamental block size: 4096 Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093 Inodes: Total: 1250159424 Free: 1250028064 File: "/bricks/data_A2" ID: 81100000000 Namelen: 255 Type: xfs Block size: 4096 Fundamental b...
2009 Apr 17
26
OCFS2 1.4: Patches backported from mainline
Please review the list of patches being applied to the ocfs2 1.4 tree. All patches list the mainline commit hash. Thanks Sunil
2018 Jan 31
2
df does not show full volume capacity after update to 3.12.4
...uster.min-free-inodes would have corrected this automatically and helped us figure out what was happening as we have not managed to reproduce this issue yet. Output of stat ?f for all the bricks: [root at jacen ~]# stat -f /bricks/data_A* File: "/bricks/data_A1" ID: 80100000000 Namelen: 255 Type: xfs Block size: 4096 Fundamental block size: 4096 Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093 Inodes: Total: 1250159424 Free: 1250028064 File: "/bricks/data_A2" ID: 81100000000 Namelen: 255 Type: xfs Block size: 4096 Fundamental b...
2018 Jan 31
0
df does not show full volume capacity after update to 3.12.4
...utomatically and helped us figure out what was happening as we have not managed to reproduce this issue yet. > > Output of stat ?f for all the bricks: > > > > [root at jacen ~]# stat -f /bricks/data_A* > > File: "/bricks/data_A1" > > ID: 80100000000 Namelen: 255 Type: xfs > > Block size: 4096 Fundamental block size: 4096 > > Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093 > > Inodes: Total: 1250159424 Free: 1250028064 > > File: "/bricks/data_A2" > > ID: 81100000000 Namelen: 255...
2018 Jan 31
4
df does not show full volume capacity after update to 3.12.4
...uster.min-free-inodes would have corrected this automatically and helped us figure out what was happening as we have not managed to reproduce this issue yet. Output of stat ?f for all the bricks: [root at jacen ~]# stat -f /bricks/data_A* File: "/bricks/data_A1" ID: 80100000000 Namelen: 255 Type: xfs Block size: 4096 Fundamental block size: 4096 Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093 Inodes: Total: 1250159424 Free: 1250028064 File: "/bricks/data_A2" ID: 81100000000 Namelen: 255 Type: xfs Block size: 4096 Fundamental b...
2003 Jan 16
0
[PATCH] Using qstr in ext3_get_parent()
...ck(struct buffer_head * bh, struct inode *dir, - struct dentry *dentry, + struct qstr *entry, unsigned long offset, struct ext3_dir_entry_2 ** res_dir) { struct ext3_dir_entry_2 * de; char * dlimit; int de_len; - const char *name = dentry->d_name.name; - int namelen = dentry->d_name.len; + const char *name = entry->name; + int namelen = entry->len; de = (struct ext3_dir_entry_2 *) bh->b_data; dlimit = bh->b_data + dir->i_sb->s_blocksize; @@ -755,8 +754,8 @@ */ -static struct buffer_head * ext3_find_entry (struct dentry *dentry...
2018 Jan 31
0
df does not show full volume capacity after update to 3.12.4
...t was happening as we have not managed to reproduce this > issue yet. > > > > > > > > > > Output of stat ?f for all the bricks: > > > > [root at jacen ~]# stat -f /bricks/data_A* > > File: "/bricks/data_A1" > > ID: 80100000000 Namelen: 255 Type: xfs > > Block size: 4096 Fundamental block size: 4096 > > Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093 > > Inodes: Total: 1250159424 Free: 1250028064 > > File: "/bricks/data_A2" > > ID: 81100000000 Namelen: 255...
2018 Jan 31
0
df does not show full volume capacity after update to 3.12.4
...t was happening as we have not managed to reproduce this > issue yet. > > > > > > > > > > Output of stat ?f for all the bricks: > > > > [root at jacen ~]# stat -f /bricks/data_A* > > File: "/bricks/data_A1" > > ID: 80100000000 Namelen: 255 Type: xfs > > Block size: 4096 Fundamental block size: 4096 > > Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093 > > Inodes: Total: 1250159424 Free: 1250028064 > > File: "/bricks/data_A2" > > ID: 81100000000 Namelen: 255...
2018 Jan 31
0
df does not show full volume capacity after update to 3.12.4
...t was happening as we have not managed to reproduce this > issue yet. > > > > > > > > > > Output of stat ?f for all the bricks: > > > > [root at jacen ~]# stat -f /bricks/data_A* > > File: "/bricks/data_A1" > > ID: 80100000000 Namelen: 255 Type: xfs > > Block size: 4096 Fundamental block size: 4096 > > Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093 > > Inodes: Total: 1250159424 Free: 1250028064 > > File: "/bricks/data_A2" > > ID: 81100000000 Namelen: 255...
2018 Jan 31
3
df does not show full volume capacity after update to 3.12.4
...uster.min-free-inodes would have corrected this automatically and helped us figure out what was happening as we have not managed to reproduce this issue yet. Output of stat ?f for all the bricks: [root at jacen ~]# stat -f /bricks/data_A* File: "/bricks/data_A1" ID: 80100000000 Namelen: 255 Type: xfs Block size: 4096 Fundamental block size: 4096 Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093 Inodes: Total: 1250159424 Free: 1250028064 File: "/bricks/data_A2" ID: 81100000000 Namelen: 255 Type: xfs Block size: 4096 Fundamental b...
2009 Mar 18
3
[PATCH] ocfs2: Fix 2 warning during ocfs2 make.
...s(+), 2 deletions(-) diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index e71160c..eeac241 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c @@ -2697,7 +2697,7 @@ static int ocfs2_dx_dir_index_block(struct inode *dir, u32 *num_dx_entries, struct buffer_head *dirent_bh) { - int ret, namelen, i; + int ret = 0, namelen, i; char *de_buf, *limit; struct ocfs2_dir_entry *de; struct buffer_head *dx_leaf_bh; diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c index b4ca591..eb21dbb 100644 --- a/fs/ocfs2/suballoc.c +++ b/fs/ocfs2/suballoc.c @@ -2213,7 +2213,7 @@ static int ocfs2_get_...
2018 Feb 01
0
df does not show full volume capacity after update to 3.12.4
...t was happening as we have not managed to reproduce this > issue yet. > > > > > > > > > > Output of stat ?f for all the bricks: > > > > [root at jacen ~]# stat -f /bricks/data_A* > > File: "/bricks/data_A1" > > ID: 80100000000 Namelen: 255 Type: xfs > > Block size: 4096 Fundamental block size: 4096 > > Blocks: Total: 15626471424 Free: 4530515093 Available: 4530515093 > > Inodes: Total: 1250159424 Free: 1250028064 > > File: "/bricks/data_A2" > > ID: 81100000000 Namelen: 255...
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
Hi, The following patches comprise the bulk of Ocfs2 updates for the 2.6.30 merge window. Aside from larger, more involved fixes, we're adding the following features, which I will describe in the order their patches are mailed. Sunil's exported some more state to our debugfs files, and consolidated some other aspects of our debugfs infrastructure. This will further aid us in debugging
2010 Dec 16
2
[BUG?] There is a possibility that 'i_ino' overflows
...1 entries */, 32768) = 24 <0.000014> ... ... $ cd /test1 $ ls -i A123 ls: cannot access A123: No such file or directory $ touch aaaa $ ls -i aaaa 1 aaaa $ # umount /test1 # btrfsck /dev/sdd14 root 5 inode 0 errors 2001 unresolved ref dir 256 index 4294967041 namelen 4 name A123 filetype 1 error 4 root 5 inode 1 errors 2001 unresolved ref dir 256 index 4294967042 namelen 4 name aaaa filetype 1 error 4 root 5 inode 4294967296 errors 2000 unresolved ref dir 256 index 4294967041 namelen 4 name A123 filetype 0 error 3 root 5 inode 42949672...