Re: [PATCH] ext4, jbd2: add an optimized bmap for the journal inode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 07, 2023 at 11:16:15PM -0500, Theodore Ts'o wrote:
> The generic bmap() function exported by the VFS takes locks and does
> checks that are not necessary for the journal inode.  So allow the
> file system to set a journal-optimized bmap function in
> journal->j_bmap.
> 
> The also has the benefit of avoiding some false positives by DEPT.
> 
> Signed-off-by: Theodore Ts'o <tytso@xxxxxxx>
> ---
>  fs/ext4/super.c      | 23 +++++++++++++++++++++++
>  fs/jbd2/journal.c    |  9 ++++++---
>  include/linux/jbd2.h |  8 ++++++++
>  3 files changed, 37 insertions(+), 3 deletions(-)
> 

Should this also be marked as a fix for the syzbot report
https://syzkaller.appspot.com/bug?id=e4aaa78795e490421c79f76ec3679006c8ff4cf0 ?

- Eric



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux