Skip to contentSkip to conversation

linux-next: manual merge of the block tree with Linus' tree

DISCUSSION Stephen Rothwell 2 participants 2 messages May 13, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the block tree got a conflict in:

drivers/block/ublk_drv.c

between commit:

eaf4a9b19b99 ("ublk: remove segment count and size limits")

from Linus' tree and commit:

073341c3031b ("ublk_drv: set DMA alignment mask to 3")

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.

Signature · 18 lines
Cheers,
Stephen Rothwell

diff --cc drivers/block/ublk_drv.c
index 374e4efa8759,292fa2bdd77d..000000000000
--- a/drivers/block/ublk_drv.c
+++ b/drivers/block/ublk_drv.c
@@@ -2177,8 -2176,8 +2176,9 @@@ static int ublk_ctrl_start_dev(struct u
  		.max_hw_sectors		= p->max_sectors,
  		.chunk_sectors		= p->chunk_sectors,
  		.virt_boundary_mask	= p->virt_boundary_mask,
 +		.max_segments		= USHRT_MAX,
 +		.max_segment_size	= UINT_MAX,
+ 		.dma_alignment		= 3,
 -
  	};
  	struct gendisk *disk;
  	int ret = -EINVAL;
#1 lore raw
Quoted 8 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the block tree got a conflict in:

drivers/block/ublk_drv.c

between commit:

Quoted 7 lines

eaf4a9b19b99 ("ublk: remove segment count and size limits")

from Linus' tree and commit:

073341c3031b ("ublk_drv: set DMA alignment mask to 3")

from the block tree.

The block tree currently contains just that one pending patch, and I'll pick it into a block-6.10 branch now that Linus has merged the other bits. Hence this conflict will go away.

Signature · 1 line
Jens Axboe