lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 24 Apr 2022 22:09:34 +0800
From:   Zhang Yi <>
To:     <>
CC:     <>, <>, <>,
        <>, <>, <>
Subject: [RFC PATCH v4 0/2] ext4: standardize the journal mode of symlink external block

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


  - Add a query cache 'no-wait' mode of ext4_getblk() and
    ext4_map_blocks() to fix potential sleep problem in RCU context.
 - 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().
 - Add comment to explain the credits of creating symlink.


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


Powered by blists - more mailing lists