Re: [PATCH 2/2] block: remove the ioprio field from struct request

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

 



On 12/11/2024 17:00, Christoph Hellwig wrote:
  		if (rq->bio->bi_write_hint != bio->bi_write_hint)
  			return false;
+		if (rq->bio->bi_ioprio != bio->bi_ioprio)

At this point bio_prio() looks to only be used in md code. Is it worth deleting that wrapper? I doubt its value.

And at many points bio->bi_ioprio is written without using bio_set_prio(), so I doubt the use of that one as well..

I do realize that all this is outside the scope of this series.

+			return false;
  	}
- if (rq->ioprio != bio_prio(bio))
-		return false;
-






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux