Displaying 20 results from an estimated 56 matches for "d_off".
Did you mean:
dq_off
2011 Aug 17
2
[PATCH] btrfs: fix d_off in the first dirent
Since the d_off in the first dirent for "." (that originates from
the 4th argument "offset" of filldir() for the 2nd dirent for "..")
is wrongly assigned in btrfs_real_readdir(), telldir returns same
offset for different locations.
| # mkfs.btrfs /dev/sdb1
| # mount /dev/sdb1 fs0...
2005 Apr 19
1
Re: missing directory entries on irix
...roperly so long as overflow does not occur.
Thanks to your suggestion on looking at the 'xfs_growfs -n' output I think that
I have finally tracked down the problem with the missing file. In IRIX systems
that have version 1 naming the last entry in that directory listing has a
dirent->d_off value of -1 if you treat it as a long. On systems with version 2
naming the value is not set to -1. In samba 3.0.11 there was no apparent test
of the dirent->d_off field, but in 3.0.12 it performs a telldir after reading
the last name and returns NULL if the offset it -1.
My understanding is...
2012 Dec 17
3
getdents spinning on 0x7fffffff
...after enough creates (and deletes :)) in a directory we end up with
an entry item whose key is past that value. f_pos gets rewound instead
of being set to that magical EOF. readdir() gets stuck returning the
entries after INT_MAX over and over (just one in this strace):
getdents(3, {{d_ino=257, d_off=2147483647, d_reclen=32, d_name="file-54"}}, 32768) = 32
getdents(3, {{d_ino=257, d_off=2147483647, d_reclen=32, d_name="file-54"}}, 32768) = 32
It took around 10 hours on a workstationy box over here to reproduce
this with createmany.c from the lustre tests ("./createmany...
2009 Aug 03
9
[PATCH 0/9] Quota support for ocfs2-tools (version 3)
Hi,
below comes a new version of the series of patches implementing quota support
for ocfs2-tools. I've fixed the calls of ocfs2_malloc_blocks() which were given
number of bytes instead of number of blocks. Besides that the series should be
the same.
Honza
2016 Mar 11
0
[PATCH v1 06/19] zsmalloc: clean up many BUG_ON
...tomic(d_addr);
kunmap_atomic(s_addr);
s_page = get_next_page(s_page);
- BUG_ON(!s_page);
s_addr = kmap_atomic(s_page);
d_addr = kmap_atomic(d_page);
s_size = class->size - written;
@@ -1556,7 +1549,6 @@ static void zs_object_copy(unsigned long dst, unsigned long src,
if (d_off >= PAGE_SIZE) {
kunmap_atomic(d_addr);
d_page = get_next_page(d_page);
- BUG_ON(!d_page);
d_addr = kmap_atomic(d_page);
d_size = class->size - written;
d_off = 0;
@@ -1691,8 +1683,6 @@ static enum fullness_group putback_zspage(struct zs_pool *pool,
{
enum fullness_gro...
2023 Feb 16
2
Missing Files/Missing Folders from an NFS Share
...VAST data, their NFS
> > implementation
> > makes use of the full 64 bit unsigned range allowed by NFS cookie for
> > READDIR
> > and READDIRPLUS.
> >
> > The issue is that this 64 unsigned value is used for the directory's
> > file
> > position (d_off), which is a 64 bit signed value. This can cause
> > readdir and
> > telldir to return negative values.
>
> Known issue that we had to deal with 25 years ago for 32 bit systems
> when glibc first decided to make lseek() return signed values (struct
> old_linux_direct still h...
2007 Jul 12
0
No subject
</font>
<ul class="D">
<li class="D_off">Two Available PCI Express x8 Slots</li>
<li class="D_on">Two Available PCI Express x8 Low Profile Slots</li>
<li class="D_off">One Available 64-bit/100MHz PCI-X slot</li>
</ul>
The list has already answered what goes in what slot...
2009 Jul 27
11
[PATCH 0/8] Quota support for ocfs2-tools
Hi,
I'm sending a series of patches implementing quota support into ocfs2-tools.
It's the same as the original huge patch I've sent but now it's split as Joel
asked. I've also realized that when disabling SPARSE feature, we should update
quota information. That piece of code is missing, I'll implement it soon.
Comments welcome.
Honza
2016 Mar 30
0
[PATCH v3 08/16] zsmalloc: squeeze freelist into page->mapping
...54,33 @@ static struct page *get_next_page(struct page *page)
return next;
}
-/*
- * Encode <page, obj_idx> as a single handle value.
- * We use the least bit of handle for tagging.
- */
-static void *location_to_obj(struct page *page, unsigned long obj_idx)
+static void objidx_to_page_and_offset(struct size_class *class,
+ struct page *first_page,
+ unsigned long obj_idx,
+ struct page **obj_page,
+ unsigned long *offset_in_page)
{
- unsigned long obj;
+ int i;
+ unsigned long offset;
+ struct page *cursor;
+ int nr_page;
- if (!page) {
- VM_BUG_ON(obj_idx);
- return NU...
2016 Mar 11
0
[PATCH v1 11/19] zsmalloc: squeeze freelist into page->mapping
...s_stat_dec(class, OBJ_USED, 1);
}
@@ -1541,8 +1573,8 @@ static void zs_object_copy(struct size_class *class, unsigned long dst,
obj_to_location(src, &s_page, &s_objidx);
obj_to_location(dst, &d_page, &d_objidx);
- s_off = obj_idx_to_offset(s_page, s_objidx, class->size);
- d_off = obj_idx_to_offset(d_page, d_objidx, class->size);
+ s_off = (class->size * s_objidx) & ~PAGE_MASK;
+ d_off = (class->size * d_objidx) & ~PAGE_MASK;
if (s_off + class->size > PAGE_SIZE)
s_size = PAGE_SIZE - s_off;
@@ -2033,9 +2065,10 @@ static int __init zs_init(void)...
2009 Jul 30
11
[PATCH 0/9] Quota support for ocfs2-tools (version 2)
Hi,
this is the next version of quota support for quota tools. I've addressed all
the comments of Tao, Joel and others. Sparse feature disabling also correctly
updates quota information now and the patch is merged into the tunefs support
patch.
Honza
2023 Feb 16
1
Missing Files/Missing Folders from an NFS Share
...gt; implementation
>> > makes use of the full 64 bit unsigned range allowed by NFS cookie for
>> > READDIR
>> > and READDIRPLUS.
>> >
>> > The issue is that this 64 unsigned value is used for the directory's
>> > file
>> > position (d_off), which is a 64 bit signed value. This can cause
>> > readdir and
>> > telldir to return negative values.
>>
>> Known issue that we had to deal with 25 years ago for 32 bit systems
>> when glibc first decided to make lseek() return signed values (struct
>>...
2023 Feb 16
1
Missing Files/Missing Folders from an NFS Share
On Thu, Feb 16, 2023 at 08:46:26PM +0100, Conor Armstrong wrote:
> I'm trying to get to the?bottom of where the normal directory functions
> differ in results for block storage compared to NFS.?
> I created a short c script to look at the offsets generated for the
> directory when block storage backed in comparison to NFS backed.?
> block storage backed are always
2001 May 31
1
Possible bug in openssh configuration file
...type mismatch:
pointer to function(pointer to const char) returning pointer to
void "=" pointer to void
"sftp-glob.c", line 157: warning: assignment type mismatch:
pointer to function(pointer to void) returning pointer to struct
dirent {unsigned long d_ino, long d_off, unsigned short d_reclen,
array[1] of char d_name} "=" pointer to void
"sftp-glob.c", line 158: warning: assignment type mismatch:
pointer to function(pointer to void) returning void "=" pointer
to void
"sftp-glob.c", line 167: warning: argument #3 is...
2009 Jan 15
2
Fatal: Plugin sieve_plugin not found from directory
...ple files for module sieve_plugin:
/usr/lib64/dovecot/lda/lib90_sieve_plugin.so,
/usr/lib64/dovecot/lda/sieve_plugin.so
Invoking the deliver process with strace showed /usr/lib64/dovecot/lda
being opened, fstated, and getdents returned the expected results,
including
{d_ino=67593, d_off=608760247, d_reclen=40,
d_name="lib90_sieve_plugin.so"}
After this, the plugin (nor any other file, aside from /etc/localtime)
was not opened, the above error was sent, and deliver exited.
The RPM was recompiled for CentOS 5.1 from an ArkLinux Dovecot 1.2 SRPM;
the specfile appea...
2001 Mar 22
9
Portable OpenSSH-2.5.2p2
Portable OpenSSH 2.5.2p2 is now available from the mirror sites
listed at http://www.openssh.com/portable.html
Security related changes:
Improved countermeasure against "Passive Analysis of SSH
(Secure Shell) Traffic"
http://openwall.com/advisories/OW-003-ssh-traffic-analysis.txt
The countermeasures introduced in earlier OpenSSH-2.5.x versions
caused interoperability problems with
2001 Mar 22
9
Portable OpenSSH-2.5.2p2
Portable OpenSSH 2.5.2p2 is now available from the mirror sites
listed at http://www.openssh.com/portable.html
Security related changes:
Improved countermeasure against "Passive Analysis of SSH
(Secure Shell) Traffic"
http://openwall.com/advisories/OW-003-ssh-traffic-analysis.txt
The countermeasures introduced in earlier OpenSSH-2.5.x versions
caused interoperability problems with
2002 Dec 25
1
Trouble installing samba
...ed... no
> checking return type of signal handlers... void
> checking for uid_t in sys/types.h... yes
> checking for mode_t... yes
> checking for off_t... yes
> checking for size_t... yes
> checking for pid_t... yes
> checking for st_rdev in struct stat... yes
> checking for d_off in dirent... yes
> checking for ino_t... yes
> checking for loff_t... yes
> checking for offset_t... no
> checking for ssize_t... yes
> checking for wchar_t... yes
> checking for cups-config... /usr/bin/cups-config
> checking for dlopen... no
> checking for dlopen in -ldl......
1999 Oct 26
0
Solaris 7 not compiling HEAD code
...n... yes
checking whether char is unsigned... no
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for st_rdev in struct stat... yes
checking for d_off in dirent... yes
checking for ino_t... yes
checking for loff_t... no
checking for offset_t... yes
checking for ssize_t... yes
checking for errno in errno.h... yes
checking for setresuid declaration... no
checking for crypt declaration... no
checking for real setresuid... no
checking for 8-bit clean...
2001 Nov 07
1
Configuring 2.2.2 (or 2.0.7) on Digital Unix 4.0f fails - "No locking"
...an... no
checking whether char is unsigned... no
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for st_rdev in struct stat... yes
checking for d_off in dirent... no
checking for ino_t... yes
checking for loff_t... no
checking for offset_t... no
checking for ssize_t... yes
checking for wchar_t... yes
checking for httpConnect in -lcups... no
checking for dlopen in -ldl... no
checking for unix domain sockets... yes
checking for socklen_t type... n...