diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 11:46:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 11:46:49 -0500 |
commit | 4fa639123d9e6e8dfaa3d116368f4b2478da31af (patch) | |
tree | 50c42e2102a542891a15b5011e48fbde14149baf /Documentation | |
parent | df5b89b323b922f56650b4b4d7c41899b937cf19 (diff) | |
parent | ae36b883d29e53b6083ed3d1d44f254cee7507d3 (diff) |
Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block
* 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block:
[PATCH] Don't make debugfs depend on DEBUG_KERNEL
[PATCH] Fix blktrace compile with sysfs not defined
[PATCH] unused label in drivers/block/cciss.
[BLOCK] increase size of disk stat counters
[PATCH] blk_execute_rq_nowait-speedup
[PATCH] ide-cd: quiet down GPCMD_READ_CDVD_CAPACITY failure
[BLOCK] ll_rw_blk: kmalloc -> kzalloc conversion
[PATCH] kzalloc() conversion in drivers/block
[PATCH] update max_sectors documentation
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/block/biodoc.txt | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Documentation/block/biodoc.txt b/Documentation/block/biodoc.txt index 8e63831971d..f989a9e839b 100644 --- a/Documentation/block/biodoc.txt +++ b/Documentation/block/biodoc.txt | |||
@@ -132,8 +132,18 @@ Some new queue property settings: | |||
132 | limit. No highmem default. | 132 | limit. No highmem default. |
133 | 133 | ||
134 | blk_queue_max_sectors(q, max_sectors) | 134 | blk_queue_max_sectors(q, max_sectors) |
135 | Maximum size request you can handle in units of 512 byte | 135 | Sets two variables that limit the size of the request. |
136 | sectors. 255 default. | 136 | |
137 | - The request queue's max_sectors, which is a soft size in | ||
138 | in units of 512 byte sectors, and could be dynamically varied | ||
139 | by the core kernel. | ||
140 | |||
141 | - The request queue's max_hw_sectors, which is a hard limit | ||
142 | and reflects the maximum size request a driver can handle | ||
143 | in units of 512 byte sectors. | ||
144 | |||
145 | The default for both max_sectors and max_hw_sectors is | ||
146 | 255. The upper limit of max_sectors is 1024. | ||
137 | 147 | ||
138 | blk_queue_max_phys_segments(q, max_segments) | 148 | blk_queue_max_phys_segments(q, max_segments) |
139 | Maximum physical segments you can handle in a request. 128 | 149 | Maximum physical segments you can handle in a request. 128 |