]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: keep the backward compatibility
authorChaitanya Kulkarni <kch@nvidia.com>
Fri, 18 Mar 2022 01:24:08 +0000 (18:24 -0700)
committerDaniel Wagner <dwagner@suse.de>
Fri, 18 Mar 2022 08:09:24 +0000 (09:09 +0100)
commitaeca69dcb807071545cee31d195c16fc6da23168
treed0091b55cb75a194c56c75daec676dc5e91872aa
parent8d264907526ec2cda37b297099338ab8e6f075fb
fabrics: keep the backward compatibility

Don't print the message while disconnecting it is breaking blktests,
see below without this patch :-

nvme/005 (reset local loopback target)                       [failed]
    runtime  6.799s  ...  6.814s
    --- tests/nvme/005.out 2021-08-29 01:09:20.287901783 -0700
    +++ /mnt/data/blktests/results/nodev/nvme/005.out.bad 2022-03-17 18:11:16.198191553 -0700
    @@ -1,2 +1,3 @@
     Running nvme/005
    +Disconnected nvme1
     Test complete

With this patch :-

blktests (master) # ./check nvme/005
nvme/005 (reset local loopback target)                       [passed]
    runtime  6.807s  ...  6.801s

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Link: https://lore.kernel.org/r/20220318012408.24779-1-kch@nvidia.com
fabrics.c