diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-11-11 15:19:07 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 11:19:11 +0100 |
commit | 1816a2b47afae838e53a177d5d166cc7be97d6b5 (patch) | |
tree | 70d4e3c8aca3ab26af6ebe84ed23b0ba4d4d67e9 /usr | |
parent | 3129b1b9aed15bbebde1b2a5719434273feb295d (diff) |
drbd: properly use max_hw_sectors to limit the our bio size
To ease tracking of bios in some hash tables, we want it to
not cross certain boundaries (128k, used to be 32k).
We limit the maximum bio size using queue parameters.
Historically some defines and variables we use there have been named
max_segment_size, which was misguided. Rename them to max_bio_size,
and use [blk_]queue_max_hw_sectors where appropriate.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions