aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJavier González <[email protected]>2019-03-07 13:18:53 +0100
committerJens Axboe <[email protected]>2019-03-07 08:59:26 -0700
commit9205e44916b2ca2e959be4210133292a19e79b0d (patch)
treecdb5ac5d9609ae0966601476460cdb97d5570db7 /tools/perf/scripts/python/exported-sql-viewer.py
parent05b700ba6003fd98c41314f390df36e2b893e167 (diff)
pblk: fix max_io calculation
When calculating the maximun I/O size allowed into the buffer, consider the write size (ws_opt) used by the write thread in order to cover the case in which, due to flushes, the mem and subm pointers are disaligned by (ws_opt - 1). This case currently translates into a stall when an I/O of the largest possible size is submitted. Fixes: f9f9d1ae2c66 ("lightnvm: pblk: prevent stall due to wb threshold") Signed-off-by: Javier González <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions