Re: [PATCH v2 06/14] md: Clean up folio sync support related code
Li Nan <[email protected]>
| Newsgroups | gmane.linux.raid,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
在 2026/2/5 0:52, Yu Kuai 写道: > Hi, > > 在 2026/1/28 15:57, [email protected] 写道: >> From: Li Nan <[email protected]> >> >> 1. Remove resync_get_all_folio() and invoke folio_get() directly instead. >> 2. Clean up redundant while(0) loop in md_bio_reset_resync_folio(). >> 3. Clean up bio variable by directly referencing r10_bio->devs[j].bio >> instead in r1buf_pool_alloc() and r10buf_pool_alloc(). >> 4. Clean up RESYNC_PAGES. >> >> Signed-off-by: Li Nan <[email protected]> >> Reviewed-by: Xiao Ni <[email protected]> >> --- >> drivers/md/raid1-10.c | 22 ++++++---------------- >> drivers/md/raid1.c | 6 ++---- >> drivers/md/raid10.c | 6 ++---- >> 3 files changed, 10 insertions(+), 24 deletions(-) > > I think this patch can be merged into patch 5. > Thanks for your review. Previously I modified them together, which made patch 5 difficult to review as it is already large enough. I will merge them in the next version. -- Thanks, Nan