From: Zhang Yi <yi.zhang@huawei.com>
To: <linux-ext4@vger.kernel.org>
Cc: <tytso@mit.edu>, <adilger.kernel@dilger.ca>, <jack@suse.cz>,
<yi.zhang@huawei.com>, <yukuai3@huawei.com>, <yebin10@huawei.com>
Subject: [RFC PATCH v4 0/2] ext4: standardize the journal mode of symlink external block
Date: Sun, 24 Apr 2022 22:09:34 +0800 [thread overview]
Message-ID: <20220424140936.1898920-1-yi.zhang@huawei.com> (raw)
Standardize the journal mode of symlink external block, from the
essentially data=journal mode to 'standard mode' like other metadata
blocks. (e.g. directory blocks and directory blocks...)
Thanks,
Yi.
v4->v3:
- Add a query cache 'no-wait' mode of ext4_getblk() and
ext4_map_blocks() to fix potential sleep problem in RCU context.
v3->v2:
- Retry if it fail in close-to-ENOSPC conditions.
- Use ext4_add_nondir() to add dir entry for no-fast symlink.
- Fix RCU walking for symlinks.
- Ensure nul-terminate when in ext4_get_link().
v2->v1:
- Add comment to explain the credits of creating symlink.
[v3]: https://lore.kernel.org/linux-ext4/20220418063735.2067766-1-yi.zhang@huawei.com/
[v2]: https://lore.kernel.org/linux-ext4/20220412083941.2242143-1-yi.zhang@huawei.com/
[v1]: https://lore.kernel.org/linux-ext4/20220406084503.1961686-1-yi.zhang@huawei.com/
Zhang Yi (2):
ext4: add nowait mode for ext4_getblk()
ext4: convert symlink external data block mapping to bdev
fs/ext4/ext4.h | 2 +
fs/ext4/inode.c | 23 ++++++---
fs/ext4/namei.c | 123 +++++++++++++++++++++-------------------------
fs/ext4/symlink.c | 51 ++++++++++++++++---
4 files changed, 116 insertions(+), 83 deletions(-)
--
2.31.1
next reply other threads:[~2022-04-24 13:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-24 14:09 Zhang Yi [this message]
2022-04-24 14:09 ` [RFC PATCH v4 1/2] ext4: add nowait mode for ext4_getblk() Zhang Yi
2022-04-24 14:09 ` [RFC PATCH v4 2/2] ext4: convert symlink external data block mapping to bdev Zhang Yi
2022-05-19 1:27 ` [RFC PATCH v4 0/2] ext4: standardize the journal mode of symlink external block Theodore Ts'o
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=20220424140936.1898920-1-yi.zhang@huawei.com \
--to=yi.zhang@huawei.com \
--cc=adilger.kernel@dilger.ca \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
--cc=yebin10@huawei.com \
--cc=yukuai3@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;
as well as URLs for NNTP newsgroup(s).