This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: d_off field in struct dirent and 32-on-64 emulation
- From: Florian Weimer <fweimer at redhat dot com>
- To: Mao Han <han_mao at c-sky dot com>
- Cc: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, libc-alpha at sourceware dot org
- Date: Fri, 04 Jan 2019 10:22:00 +0100
- Subject: Re: d_off field in struct dirent and 32-on-64 emulation
- References: <87bm56vqg4.fsf@mid.deneb.enyo.de> <957967d7-5717-8ada-fb30-dfdf19898b6b@linaro.org> <87pntmu9iw.fsf@mid.deneb.enyo.de> <ae0530c9-5c46-5560-9734-1eacaf173b8d@linaro.org> <alpine.DEB.2.21.1812311657050.27287@digraph.polyomino.org.uk> <a5092631-2ddf-1790-5f27-777646ef3d34@linaro.org> <20190104023213.GA27571@vmh-VirtualBox>
* Mao Han:
> I'm still not clear what's the problem of using getdent64 on csky, seems
> getdent64 may fail when LFS is used. I haven't seen any our customer use
> LFS before, so no one will be affected by this issue at present?
Could you post “strace -v” output from something calling getdents64 on
an ext4 file system, please?
It may be that the problem does not exist because ext4 always uses
31-bit hashes for d_off on csky.
Thanks,
Florian