summaryrefslogtreecommitdiff
path: root/lib/raid6
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2021-07-23 10:02:17 +0200
committerVasily Gorbik <gor@linux.ibm.com>2021-08-18 10:01:28 +0200
commit87e225bfa0015aee2812246de56a09126a743192 (patch)
treea3bd3f35c39b69b590444c3c8044a6d5403c7b83 /lib/raid6
parent10376b53502ef14661274c40a78cb860b54455fa (diff)
downloadlinux-stable-87e225bfa0015aee2812246de56a09126a743192.tar.gz
s390/qdio: fine-tune the queue sync
Push the sync check from qdio_inspect_queue() down into the two get_*_buffer_frontier() code paths, where we actually need the sync to look at the current queue state. This lets us avoid the check when we know that there is no work on the queue (ie. when q->nr_buf_used is 0). While at it introduce the qdio_sync_*_queue() helpers, so that we can avoid the branch on q->is_input_q when we already know the queue type. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions