summaryrefslogtreecommitdiff
path: root/iosched.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-09-09 12:40:14 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-09-09 12:40:14 +0200
commitdefd121efe1c394fe002ce9b0f36a2422a054af7 (patch)
treec448f569c3dcf303f5943bfe6a973ff6da615b5e /iosched.h
parent382b08547cc61faf10d94cffef890ce0dc85609c (diff)
ifpps: correct calculation of line rate percentage
The line rate is given in Mbit rather than MiB (in which {rx,tx}_bytes were converted). Correct the calculation by converting {rx,tx}_bytes to Mbit: (n bytes * 8 bits per byte) / 1000^2 = (n bytes) / 125000 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'iosched.h')
0 files changed, 0 insertions, 0 deletions
s in __blkdev_issue_zeroout impossible. Thus only issue a Write Same from blkdev_issue_zeroout an don't try it at all from __blkdev_issue_zeroout as a non-invasive workaround. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Junichi Nomura <j-nomura@ce.jp.nec.com> Fixes: e73c23ff ("block: add async variant of blkdev_issue_zeroout") Tested-by: Junichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'net/rds/ib_stats.c')