linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v4 0/2] ext4: standardize the journal mode of symlink external block
@ 2022-04-24 14:09 Zhang Yi
  2022-04-24 14:09 ` [RFC PATCH v4 1/2] ext4: add nowait mode for ext4_getblk() Zhang Yi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zhang Yi @ 2022-04-24 14:09 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso, adilger.kernel, jack, yi.zhang, yukuai3, yebin10

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-19  1:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-24 14:09 [RFC PATCH v4 0/2] ext4: standardize the journal mode of symlink external block Zhang Yi
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

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).