[PATCH] blk-mq: issue directly if hw queue isn't busy in case of 'none'

2018-07-09 Thread Ming Lei
In case of 'none' io scheduler, when hw queue isn't busy, it isn't necessary to enqueue request to sw queue and dequeue it from sw queue because request may be submitted to hw queue asap without extra cost, meantime there shouldn't be much request in sw queue, and we don't need to worry about

Re: [PATCH blktests v2 3/3] Add tests for the SRP initiator and target drivers

2018-07-09 Thread Bart Van Assche
On Mon, 2018-07-09 at 08:06 +0200, Hannes Reinecke wrote: > You can switch off this behaviour with the option > > find_multipaths no Thanks Hannes! Bart.

[PATCH blktests v3 2/6] check: Make $FULL an absolute path

2018-07-09 Thread Bart Van Assche
This makes it safe to use $FULL in shell code that modifies (and restores) the working directory. Signed-off-by: Bart Van Assche --- check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check b/check index a63553120635..5f4461f8b5b4 100755 --- a/check +++ b/check @@ -313,7

[PATCH blktests v3 3/6] src/Makefile: Introduce the C_TARGETS variable

2018-07-09 Thread Bart Van Assche
This patch does not change any functionality but will make it easier to add support for building C++ code. Signed-off-by: Bart Van Assche --- src/Makefile | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 612282d14af8..7d15d115f6df

[PATCH blktests v3 4/6] src/Makefile: Move -Wall from the C compilation rule to the $(CFLAGS) variable

2018-07-09 Thread Bart Van Assche
Signed-off-by: Bart Van Assche --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 7d15d115f6df..efbf393f4c58 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,7 +8,7 @@ C_TARGETS := \ TARGETS := $(C_TARGETS) -CFLAGS :=

[PATCH blktests v3 0/6] Add SRP initiator driver tests

2018-07-09 Thread Bart Van Assche
Hello Omar, As promised during LSF/MM, I have converted the srp-tests software to the blktests framework. Please consider this patch series for inclusion in the official blktests repository. This patch series is also available as a github pull request, namely

[PATCH blktests v3 1/6] dir-locals.el: Add c-mode settings

2018-07-09 Thread Bart Van Assche
Add c-mode settings for the files in the src directory. Additionally, make indent-tabs-mode global such that it also applies to the .dir-locals.el file itself. Signed-off-by: Bart Van Assche --- .dir-locals.el | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH blktests v3 6/6] Add tests for the SRP initiator and target drivers

2018-07-09 Thread Bart Van Assche
This patch adds the following tests: 001: Create and remove LUNs 002: File I/O on top of multipath concurrently with logout and login (mq) 003: File I/O on top of multipath concurrently with logout and login (sq) 004: File I/O on top of multipath concurrently with logout and login (sq-on-mq) 005:

[PATCH blktests v3 5/6] Add the discontiguous-io test program

2018-07-09 Thread Bart Van Assche
This test program will be used by one of the srp tests. Signed-off-by: Bart Van Assche --- src/.gitignore | 1 + src/Makefile | 9 +- src/discontiguous-io.cpp | 340 +++ 3 files changed, 349 insertions(+), 1 deletion(-) create mode

[PATCH v4] lightnvm: pblk: add asynchronous partial read

2018-07-09 Thread Heiner Litz
In the read path, partial reads are currently performed synchronously which affects performance for workloads that generate many partial reads. This patch adds an asynchronous partial read path as well as the required partial read ctx. Signed-off-by: Heiner Litz --- v4: Allocate bitmap in

Re: [PATCH blktests v2] dir-locals.el: fix indenation with Emacs

2018-07-09 Thread Johannes Thumshirn
On Fri, Jul 06, 2018 at 02:17:44PM -0700, Omar Sandoval wrote: > On Fri, Jul 06, 2018 at 10:21:28AM +0200, Johannes Thumshirn wrote: > > A recent update of Emacs broke .dir-locals.el's shell indentation > > setting. > > > > Also set 'sh-indendation' not just 'sh-basic-offset' for this. > >

Re: [PATCH blktests v2 3/3] Add tests for the SRP initiator and target drivers

2018-07-09 Thread Hannes Reinecke
On 07/07/2018 01:15 AM, Omar Sandoval wrote: > This might also be useful: > > # /sbin/multipathd -d -s -v 3 > start up > read /etc/multipath.conf > loading /lib64/multipath/libchecktur.so checker > loading /lib64/multipath/libprioconst.so prioritizer > foreign library "nvme"