Re: [PATCH v4 1/7] block: Introduce the flag QUEUE_FLAG_NO_ZONE_WRITE_LOCK

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

 



On 7/26/23 17:54, Chaitanya Kulkarni wrote:
On 7/26/2023 12:34 PM, Bart Van Assche wrote:
+/*
+ * Do not use the zone write lock for sequential writes for sequential write
+ * required zones.
+ */

In first go I got little confused with above comment, how about :-

/*
   * When issuing sequential writes on zone type
   * BLK_ZONE_TYPE_SEQWRITE_REQ, don't use zone write locking.
   */

It makes it easier to search in code with BLK_ZONE_TYPE_SEQWRITE_REQ
but if everyone else is okay with original comment or if it is not
correct suggestion feel free to ignore my suggestion ...

How about this comment?

/*
 * Do not serialize sequential writes sent to a sequential write
 * required zone (BLK_ZONE_TYPE_SEQWRITE_REQ).
 */

Thanks,

Bart.




[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