linux-next: manual merge of the block tree with the mm-stable tree
Subsystems (3)
Mark Brown
maintainerHi all,
Today's linux-next merge of the block tree got a conflict in:
mm/page_io.c
between commit:
d590df11be0f1 ("mm/page_io: rename swap_iocb fields for clarity")
from the mm-stable tree and commit:
ca36c1aaee095 ("block: Add bvec_folio()")
from the block tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
mm/page_io.c +0 -0
@@@ -499,8 -489,8 +499,8 @@@ static void sio_read_complete(struct kiint p;if (ret == sio->len) { - for (p = 0; p < sio->pages; p++) { - struct folio *folio = bvec_folio(&sio->bvec[p]); + for (p = 0; p < sio->nr_bvecs; p++) { -struct folio *folio =page_folio (sio->bvecs[p].bv_page); ++ struct folio *folio = bvec_folio(&sio->bvecs[p]);count_mthp_stat (folio_order (folio),MTHP_STAT_SWPIN );count_memcg_folio_events (folio,PSWPIN ,folio_nr_pages (folio)); }count_vm_events (PSWPIN , sio->len >>PAGE_SHIFT ); } else { - for (p = 0; p < sio->pages; p++) { - struct folio *folio = bvec_folio(&sio->bvec[p]); + for (p = 0; p < sio->nr_bvecs; p++) { -struct folio *folio =page_folio (sio->bvecs[p].bv_page); ++ struct folio *folio = bvec_folio(&sio->bvecs[p]);folio_unlock (folio); }
Quoted 8 lines · Mark Brown
Hi all,
Today's linux-next merge of the block tree got a conflict in:
mm/page_io.cbetween commit:
Quoted 7 lines
d590df11be0f1("mm/page_io: renameswap_iocbfields for clarity")from the mm-stable tree and commit:
ca36c1aaee095("block: Addbvec_folio()")from the block tree.
Thanks; your resolution is clearly correct. If it'd be easier, we can just drop the hunk touching mm/page_io.c from the block tree and I can submit a separate patch next merge window to the mm tree. But the resolution seems straightforward enough that maybe just keep it.