lkml.org 
[lkml]   [2023]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v6 09/11] ext4: add some kunit stub for mballoc kunit test
    Kemeng Shi <shikemeng@huaweicloud.com> writes:

    > Multiblocks allocation will read and write block bitmap and group
    > descriptor which reside on disk. Add kunit stub to function
    > ext4_get_group_desc, ext4_read_block_bitmap_nowait, ext4_wait_block_bitmap
    > and ext4_mb_mark_context to avoid real IO to disk.
    >
    > Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
    > ---
    > fs/ext4/balloc.c | 10 ++++++++++
    > fs/ext4/mballoc.c | 4 ++++
    > 2 files changed, 14 insertions(+)

    The patch looks good to me. Nice work in identifying functions which are
    does I/O in mballoc context.

    Looks good to me. Feel free to add -

    Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>

    -ritesh

    \
     
     \ /
      Last update: 2023-09-01 16:19    [W:4.149 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site