diff options
Diffstat (limited to 'block/blk-settings.c')
-rw-r--r-- | block/blk-settings.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c index a2b9cb195e70..f1a1795a5683 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c | |||
@@ -285,7 +285,10 @@ EXPORT_SYMBOL(blk_queue_max_hw_sectors); | |||
285 | * Description: | 285 | * Description: |
286 | * If a driver doesn't want IOs to cross a given chunk size, it can set | 286 | * If a driver doesn't want IOs to cross a given chunk size, it can set |
287 | * this limit and prevent merging across chunks. Note that the chunk size | 287 | * this limit and prevent merging across chunks. Note that the chunk size |
288 | * must currently be a power-of-2 in sectors. | 288 | * must currently be a power-of-2 in sectors. Also note that the block |
289 | * layer must accept a page worth of data at any offset. So if the | ||
290 | * crossing of chunks is a hard limitation in the driver, it must still be | ||
291 | * prepared to split single page bios. | ||
289 | **/ | 292 | **/ |
290 | void blk_queue_chunk_sectors(struct request_queue *q, unsigned int chunk_sectors) | 293 | void blk_queue_chunk_sectors(struct request_queue *q, unsigned int chunk_sectors) |
291 | { | 294 | { |