[v2,0/2] optimize ea_inode block expansion to fix panic

Message ID 20230103014517.495275-1-jun.nie@linaro.org
Headers
Series optimize ea_inode block expansion to fix panic |

Message

Jun Nie Jan. 3, 2023, 1:45 a.m. UTC
  Optimize ea_inode block expansion to avoid memcpy if possible,
panic can be avoided in this way too.

Change vs version 1:
Only error and warning log format in patch 2 is modified per
Theodore's suggestion.

Jun Nie (2):
  ext4: optimize ea_inode block expansion
  ext4: refuse to create ea block when umounted

 fs/ext4/xattr.c | 35 ++++++++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 11 deletions(-)
  

Comments

Theodore Ts'o Feb. 19, 2023, 5:40 a.m. UTC | #1
On Tue, 3 Jan 2023 09:45:15 +0800, Jun Nie wrote:
> Optimize ea_inode block expansion to avoid memcpy if possible,
> panic can be avoided in this way too.
> 
> Change vs version 1:
> Only error and warning log format in patch 2 is modified per
> Theodore's suggestion.
> 
> [...]

Applied, thanks!

[1/2] ext4: optimize ea_inode block expansion
      commit: 1e9d62d252812575ded7c620d8fc67c32ff06c16
[2/2] ext4: refuse to create ea block when umounted
      commit: f31173c19901a96bb2ebf6bcfec8a08df7095c91

Best regards,