diff options
author | Jan Beulich <JBeulich@suse.com> | 2017-01-23 18:11:37 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2017-01-23 21:27:42 +0300 |
commit | 3b4f18843e511193e7eb616710e838f5852e661d (patch) | |
tree | abf5739ec8edad0a94594aa2148d132ab2f20867 /fs/xfs/xfs_linux.h | |
parent | b32728ffef7f233dbdabb3f11814bdf692aaf501 (diff) | |
download | linux-3b4f18843e511193e7eb616710e838f5852e661d.tar.xz |
xen-blkfront: correct maximum segment accounting
Making use of "max_indirect_segments=" has issues:
- blkfront_setup_indirect() may end up with zero psegs when PAGE_SIZE
is sufficiently much larger than XEN_PAGE_SIZE
- the variable driven by the command line option
(xen_blkif_max_segments) has a somewhat different purpose, and hence
should namely never end up being zero
- as long as the specified value is lower than the legacy default,
we better don't use indirect segments at all (or we'd in fact lower
throughput)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_linux.h')
0 files changed, 0 insertions, 0 deletions