From: Matthew Wilcox <willy@infradead.org>
To: "wangjianjian (C)" <wangjianjian3@huawei.com>
Cc: Mateusz Guzik <mjguzik@gmail.com>,
brauner@kernel.org, viro@zeniv.linux.org.uk, jack@suse.cz,
linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
hughd@google.com, linux-ext4@vger.kernel.org, tytso@mit.edu,
linux-mm@kvack.org
Subject: Re: [PATCH v2 1/3] vfs: support caching symlink lengths in inodes
Date: Wed, 20 Nov 2024 05:01:31 +0000 [thread overview]
Message-ID: <Zz1tK-rMV5uYyco6@casper.infradead.org> (raw)
In-Reply-To: <f7cc4ce1-9c20-4a5b-8a66-69b1f00a7776@huawei.com>
On Wed, Nov 20, 2024 at 12:15:18PM +0800, wangjianjian (C) wrote:
> > +{
> > + inode->i_link = link;
> > + inode->i_linklen = linklen;
> Just curious, is this linklen equal to inode size? if it is, why don't use
> it?
Maybe you should read v1 of the patch series where Jan explained where
that's not true.
next prev parent reply other threads:[~2024-11-20 5:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 9:45 [PATCH v2 0/3] symlink length caching Mateusz Guzik
2024-11-19 9:45 ` [PATCH v2 1/3] vfs: support caching symlink lengths in inodes Mateusz Guzik
2024-11-20 4:15 ` wangjianjian (C)
2024-11-20 5:01 ` Matthew Wilcox [this message]
2024-11-20 5:10 ` wangjianjian (C)
2024-11-19 9:45 ` [PATCH v2 2/3] ext4: use inode_set_cached_link() Mateusz Guzik
2024-11-19 9:45 ` [PATCH v2 3/3] tmpfs: " Mateusz Guzik
2024-11-19 17:53 ` [PATCH v2 0/3] symlink length caching Theodore Ts'o
2024-11-19 18:07 ` Mateusz Guzik
2024-11-20 10:33 ` Christian Brauner
2024-11-20 10:42 ` Mateusz Guzik
2024-11-20 11:12 ` Christian Brauner
2024-11-20 19:47 ` Mateusz Guzik
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=Zz1tK-rMV5uYyco6@casper.infradead.org \
--to=willy@infradead.org \
--cc=brauner@kernel.org \
--cc=hughd@google.com \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mjguzik@gmail.com \
--cc=tytso@mit.edu \
--cc=viro@zeniv.linux.org.uk \
--cc=wangjianjian3@huawei.com \
/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