Re: [PATCH] block: remove BLK_MQ_F_SHOULD_MERGE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/12/2024 06:01, Christoph Hellwig wrote:
  	if (shost->queuecommand_may_block)
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index c596e0e4cb75..4096d4456582 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -668,7 +668,6 @@ struct blk_mq_ops {
/* Keep hctx_flag_name[] in sync with the definitions below */
  enum {
-	BLK_MQ_F_SHOULD_MERGE	= 1 << 0,
  	BLK_MQ_F_TAG_QUEUE_SHARED = 1 << 1,

Should these be renumbered? I suppose that we can introduce an enum like req_flag_bits (with separate #define for the bitmasks, like REQ_FAILFAST_DEV) to avoid the need to renumber manually.

  	/*
  	 * Set when this device requires underlying blk-mq device for





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux