OSDN Git Service

blk-sysfs: Add 'chunk_sectors' to sysfs attributes
authorHannes Reinecke <hare@suse.de>
Tue, 18 Oct 2016 06:40:30 +0000 (15:40 +0900)
committerJens Axboe <axboe@fb.com>
Tue, 18 Oct 2016 16:02:02 +0000 (10:02 -0600)
commit87caf97cf54b5082e56af241b88a2b8a30d17ef3
tree154aee6a24cb79b9f3aee44b3d5cd272bc27c4c3
parent797476b88bde2a6001f9552f383f147e58c1a330
blk-sysfs: Add 'chunk_sectors' to sysfs attributes

The queue limits already have a 'chunk_sectors' setting, so
we should be presenting it via sysfs.

Signed-off-by: Hannes Reinecke <hare@suse.de>
[Damien: Updated Documentation/ABI/testing/sysfs-block]

Signed-off-by: Damien Le Moal <damien.lemoal@hgst.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Tested-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Documentation/ABI/testing/sysfs-block
block/blk-sysfs.c