RE: [PATCH] blk-mq: use cpumap_print_to_pagebuf()

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

 



> -----Original Message-----
> From: linux-block-owner@xxxxxxxxxxxxxxx [mailto:linux-block-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Jeff Moyer
> Sent: Tuesday, March 15, 2016 10:08 AM
> To: Hannes Reinecke <hare@xxxxxxx>
> Cc: Jens Axboe <axboe@xxxxxxxxx>; Christoph Hellwig <hch@xxxxxx>; linux-
> block@xxxxxxxxxxxxxxx; Hannes Reinecke <hare@xxxxxxxx>
> Subject: Re: [PATCH] blk-mq: use cpumap_print_to_pagebuf()
> 
> Hannes Reinecke <hare@xxxxxxx> writes:
...
> You've just changed the output format[1] (and you didn't mention that in
> your patch description).  I don't think this change is worth potentially
> breaking existing scripts.
> 
> Cheers,
> Jeff
> 
> [1]
> Before:
> 
> # cat /sys/block/rssda/mq/0/cpu_list
> 0, 1, 2, 3
> 
> After:
> 
> # cat /sys/block/rssda/mq/0/cpu_list
> 0-3

How about creating another file called cpulist that is allowed to use dash
for ranges?

None of the blk-mq sysfs files are defined in Documentation/ yet, so
any script parsing them is just guessing what they might contain.

---
Robert Elliott, HPE Persistent Memory

--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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