From: Andi Kleen <andi@firstfloor.org>
To: Andreas Dilger <adilger@sun.com>
Cc: Alexey Salmin <alexey.salmin@gmail.com>,
Theodore Tso <tytso@mit.edu>,
linux-ext4@vger.kernel.org
Subject: Re: Maximum filename length
Date: Sun, 23 Nov 2008 23:15:35 +0100 [thread overview]
Message-ID: <87abbqhywo.fsf@basil.nowhere.org> (raw)
In-Reply-To: <20081122233618.GR3186@webber.adilger.int> (Andreas Dilger's message of "Sat, 22 Nov 2008 17:36:18 -0600")
Andreas Dilger <adilger@sun.com> writes:
>
> #define EXT4_FT_ENTRY_3 0x80 /* file_type for dir_entry_3 */
> #define EXT4_FT_MASK 0x0f /* EXT4_FT_* mask */
> #define EXT4_INODE_MASK 0x00ffffffffffffff /* 48-bit inode number mask */
> #define EXT4_NAME_LEN3 1012
>
> struct ext4_dir_entry_3 {
> __le64 inode; /* High byte holds file_type */
> __le16 rec_len;
> __le16 name_len;
The new format should also reserve space for a checksum. Adding that
would be actually a reasonable practical improvement for everyone.
> char name[EXT4_NAME_LEN3];
-Andi
--
ak@linux.intel.com
prev parent reply other threads:[~2008-11-23 22:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-21 12:51 Maximum filename length Alexey Salmin
2008-11-21 22:32 ` Theodore Tso
2008-11-22 2:50 ` rae l
2008-11-23 3:08 ` Theodore Tso
2008-11-22 18:48 ` Alexey Salmin
2008-11-22 23:36 ` Andreas Dilger
2008-11-23 22:15 ` Andi Kleen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87abbqhywo.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=adilger@sun.com \
--cc=alexey.salmin@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).