Hi all, Today's linux-next merge of the mmc tree got a conflict in: drivers/mmc/core/queue.c between commit: 44abff2c0b97 ("block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARD") from the block tree and commit: f7b6fc327327 ("mmc: core: Support zeroout using TRIM for eMMC") from the mmc 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. -- Cheers, Stephen Rothwell diff --cc drivers/mmc/core/queue.c index a3d446005571,bbe2ea829ea7..000000000000 --- a/drivers/mmc/core/queue.c +++ b/drivers/mmc/core/queue.c @@@ -189,7 -190,9 +189,9 @@@ static void mmc_queue_setup_discard(str if (card->pref_erase > max_discard) q->limits.discard_granularity = SECTOR_SIZE; if (mmc_can_secure_erase_trim(card)) - blk_queue_flag_set(QUEUE_FLAG_SECERASE, q); + blk_queue_max_secure_erase_sectors(q, max_discard); + if (mmc_can_trim(card) && card->erased_byte == 0) + blk_queue_max_write_zeroes_sectors(q, max_discard); } static unsigned short mmc_get_max_segments(struct mmc_host *host)
Attachment:
pgpUfHnpdS6kH.pgp
Description: OpenPGP digital signature