stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bug report] nvme0n1 node still exists after blktests nvme-tcp/014 on 5.13.16-rc1
@ 2021-09-12 14:06 Yi Zhang
  2021-09-14 14:28 ` Sagi Grimberg
  0 siblings, 1 reply; 5+ messages in thread
From: Yi Zhang @ 2021-09-12 14:06 UTC (permalink / raw)
  To: Hannes Reinecke, linux-nvme; +Cc: stable

Hello
I found this failure on stable 5.13.16-rc1[1] and cannot reproduce it
on 5.14, seems we are missing commit[2] on 5.13.y, could anyone help
check it?

[1]
# nvme_trtype=tcp ./check nvme/014
nvme/014 (flush a NVMeOF block device-backed ns)             [passed]
    runtime  30.745s  ...  22.110s
# lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda       8:0    0 465.8G  0 disk
├─sda1    8:1    0     1G  0 part /boot
├─sda2    8:2    0    16G  0 part /mnt/dmtest/data
├─sda3    8:3    0    15G  0 part /mnt/xfstests/mnt1
├─sda4    8:4    0     1K  0 part
├─sda5    8:5    0    15G  0 part /mnt/xfstests/mnt2
├─sda6    8:6    0   7.9G  0 part [SWAP]
├─sda7    8:7    0     5G  0 part /mnt/xfstests/logwrites
├─sda8    8:8    0     1G  0 part /mnt/dmtest/metadata
└─sda9    8:9    0 404.9G  0 part /
zram0   252:0    0     8G  0 disk [SWAP]
nvme0n1 259:3    0     1G  0 disk

[  133.791507] run blktests nvme/014 at 2021-09-12 08:08:17
[  133.908750] loop0: detected capacity change from 0 to 2097152
[  133.927551] nvmet: adding nsid 1 to subsystem blktests-subsystem-1
[  133.942518] nvmet_tcp: enabling port 0 (127.0.0.1:4420)
[  133.977746] nvmet: creating controller 1 for subsystem
blktests-subsystem-1 for NQN
nqn.2014-08.org.nvmexpress:uuid:c4c5023e9bcd4cb5889e9510622eb88c.
[  133.994170] nvme nvme0: creating 4 I/O queues.
[  133.999881] nvme nvme0: mapped 4/0/0 default/read/poll queues.
[  134.008683] nvme nvme0: new ctrl: NQN "blktests-subsystem-1", addr
127.0.0.1:4420
[  151.223049] nvme nvme0: using deprecated NVME_IOCTL_IO_CMD ioctl on
the char device!
[  155.675634] nvme nvme0: Removing ctrl: NQN "blktests-subsystem-1"
[  155.682902] block nvme0n1: no available path - failing I/O
[  155.689137] block nvme0n1: no available path - failing I/O
[  155.695295] Buffer I/O error on dev nvme0n1, logical block 32,
async page read

[2]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5396fdac56d87d04e75e5068c0c92d33625f51e7
5396fdac56d8 nvme: fix refcounting imbalance when all paths are down


-- 
Best Regards,
  Yi Zhang


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bug report] nvme0n1 node still exists after blktests nvme-tcp/014 on 5.13.16-rc1
  2021-09-12 14:06 [bug report] nvme0n1 node still exists after blktests nvme-tcp/014 on 5.13.16-rc1 Yi Zhang
@ 2021-09-14 14:28 ` Sagi Grimberg
  2021-09-15 12:41   ` Yi Zhang
  0 siblings, 1 reply; 5+ messages in thread
From: Sagi Grimberg @ 2021-09-14 14:28 UTC (permalink / raw)
  To: Yi Zhang, Hannes Reinecke, linux-nvme; +Cc: stable


> Hello
> I found this failure on stable 5.13.16-rc1[1] and cannot reproduce it
> on 5.14, seems we are missing commit[2] on 5.13.y, could anyone help
> check it?

Was it picked up and didn't apply correctly?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bug report] nvme0n1 node still exists after blktests nvme-tcp/014 on 5.13.16-rc1
  2021-09-14 14:28 ` Sagi Grimberg
@ 2021-09-15 12:41   ` Yi Zhang
  2021-09-15 13:00     ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Yi Zhang @ 2021-09-15 12:41 UTC (permalink / raw)
  To: Sagi Grimberg; +Cc: Hannes Reinecke, linux-nvme, stable

On Tue, Sep 14, 2021 at 10:28 PM Sagi Grimberg <sagi@grimberg.me> wrote:
>
>
> > Hello
> > I found this failure on stable 5.13.16-rc1[1] and cannot reproduce it
> > on 5.14, seems we are missing commit[2] on 5.13.y, could anyone help
> > check it?
>
> Was it picked up and didn't apply correctly?
>

Hi Sagi
I tried apply that patch to stable branch, but failed to do that,
would you or Hannes mind help backport it, thanks.

[linux-stable-rc ((daeb634aa75f...))]$ git am
0001-nvme-fix-refcounting-imbalance-when-all-paths-are-do.patch
Applying: nvme: fix refcounting imbalance when all paths are down
error: patch failed: drivers/nvme/host/nvme.h:716
error: drivers/nvme/host/nvme.h: patch does not apply
Patch failed at 0001 nvme: fix refcounting imbalance when all paths are down
hint: Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

[linux-stable-rc ((daeb634aa75f...))]$ patch -p1 <
0001-nvme-fix-refcounting-imbalance-when-all-paths-are-do.patch
patching file drivers/nvme/host/core.c
Hunk #1 succeeded at 3761 (offset -46 lines).
Hunk #2 succeeded at 3771 (offset -46 lines).
Hunk #3 succeeded at 3790 (offset -46 lines).
patching file drivers/nvme/host/multipath.c
Hunk #1 succeeded at 757 (offset -3 lines).
patching file drivers/nvme/host/nvme.h
Hunk #1 FAILED at 716.
Hunk #2 succeeded at 775 (offset 3 lines).
1 out of 2 hunks FAILED -- saving rejects to file drivers/nvme/host/nvme.h.rej

-- 
Best Regards,
  Yi Zhang


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bug report] nvme0n1 node still exists after blktests nvme-tcp/014 on 5.13.16-rc1
  2021-09-15 12:41   ` Yi Zhang
@ 2021-09-15 13:00     ` Greg KH
  2021-09-15 13:22       ` Yi Zhang
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2021-09-15 13:00 UTC (permalink / raw)
  To: Yi Zhang; +Cc: Sagi Grimberg, Hannes Reinecke, linux-nvme, stable

On Wed, Sep 15, 2021 at 08:41:21PM +0800, Yi Zhang wrote:
> On Tue, Sep 14, 2021 at 10:28 PM Sagi Grimberg <sagi@grimberg.me> wrote:
> >
> >
> > > Hello
> > > I found this failure on stable 5.13.16-rc1[1] and cannot reproduce it
> > > on 5.14, seems we are missing commit[2] on 5.13.y, could anyone help
> > > check it?
> >
> > Was it picked up and didn't apply correctly?
> >
> 
> Hi Sagi
> I tried apply that patch to stable branch, but failed to do that,
> would you or Hannes mind help backport it, thanks.
> 
> [linux-stable-rc ((daeb634aa75f...))]$ git am
> 0001-nvme-fix-refcounting-imbalance-when-all-paths-are-do.patch
> Applying: nvme: fix refcounting imbalance when all paths are down
> error: patch failed: drivers/nvme/host/nvme.h:716
> error: drivers/nvme/host/nvme.h: patch does not apply
> Patch failed at 0001 nvme: fix refcounting imbalance when all paths are down
> hint: Use 'git am --show-current-patch' to see the failed patch
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
> 
> [linux-stable-rc ((daeb634aa75f...))]$ patch -p1 <
> 0001-nvme-fix-refcounting-imbalance-when-all-paths-are-do.patch
> patching file drivers/nvme/host/core.c
> Hunk #1 succeeded at 3761 (offset -46 lines).
> Hunk #2 succeeded at 3771 (offset -46 lines).
> Hunk #3 succeeded at 3790 (offset -46 lines).
> patching file drivers/nvme/host/multipath.c
> Hunk #1 succeeded at 757 (offset -3 lines).
> patching file drivers/nvme/host/nvme.h
> Hunk #1 FAILED at 716.
> Hunk #2 succeeded at 775 (offset 3 lines).
> 1 out of 2 hunks FAILED -- saving rejects to file drivers/nvme/host/nvme.h.rej

5.13 is only going to be around for a 2-3 more days, please move to
5.14.y at this point in time.  No need to do any extra work for 5.13.y
at this point in time as it is about to be end-of-life.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bug report] nvme0n1 node still exists after blktests nvme-tcp/014 on 5.13.16-rc1
  2021-09-15 13:00     ` Greg KH
@ 2021-09-15 13:22       ` Yi Zhang
  0 siblings, 0 replies; 5+ messages in thread
From: Yi Zhang @ 2021-09-15 13:22 UTC (permalink / raw)
  To: Greg KH; +Cc: Sagi Grimberg, Hannes Reinecke, linux-nvme, stable

On Wed, Sep 15, 2021 at 9:00 PM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Wed, Sep 15, 2021 at 08:41:21PM +0800, Yi Zhang wrote:
> > On Tue, Sep 14, 2021 at 10:28 PM Sagi Grimberg <sagi@grimberg.me> wrote:
> > >
> > >
> > > > Hello
> > > > I found this failure on stable 5.13.16-rc1[1] and cannot reproduce it
> > > > on 5.14, seems we are missing commit[2] on 5.13.y, could anyone help
> > > > check it?
> > >
> > > Was it picked up and didn't apply correctly?
> > >
> >
> > Hi Sagi
> > I tried apply that patch to stable branch, but failed to do that,
> > would you or Hannes mind help backport it, thanks.
> >
> > [linux-stable-rc ((daeb634aa75f...))]$ git am
> > 0001-nvme-fix-refcounting-imbalance-when-all-paths-are-do.patch
> > Applying: nvme: fix refcounting imbalance when all paths are down
> > error: patch failed: drivers/nvme/host/nvme.h:716
> > error: drivers/nvme/host/nvme.h: patch does not apply
> > Patch failed at 0001 nvme: fix refcounting imbalance when all paths are down
> > hint: Use 'git am --show-current-patch' to see the failed patch
> > When you have resolved this problem, run "git am --continue".
> > If you prefer to skip this patch, run "git am --skip" instead.
> > To restore the original branch and stop patching, run "git am --abort".
> >
> > [linux-stable-rc ((daeb634aa75f...))]$ patch -p1 <
> > 0001-nvme-fix-refcounting-imbalance-when-all-paths-are-do.patch
> > patching file drivers/nvme/host/core.c
> > Hunk #1 succeeded at 3761 (offset -46 lines).
> > Hunk #2 succeeded at 3771 (offset -46 lines).
> > Hunk #3 succeeded at 3790 (offset -46 lines).
> > patching file drivers/nvme/host/multipath.c
> > Hunk #1 succeeded at 757 (offset -3 lines).
> > patching file drivers/nvme/host/nvme.h
> > Hunk #1 FAILED at 716.
> > Hunk #2 succeeded at 775 (offset 3 lines).
> > 1 out of 2 hunks FAILED -- saving rejects to file drivers/nvme/host/nvme.h.rej
>
> 5.13 is only going to be around for a 2-3 more days, please move to
> 5.14.y at this point in time.  No need to do any extra work for 5.13.y
> at this point in time as it is about to be end-of-life.

Got it, thanks for the update.

>
> thanks,
>
> greg k-h
>


-- 
Best Regards,
  Yi Zhang


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-15 13:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-12 14:06 [bug report] nvme0n1 node still exists after blktests nvme-tcp/014 on 5.13.16-rc1 Yi Zhang
2021-09-14 14:28 ` Sagi Grimberg
2021-09-15 12:41   ` Yi Zhang
2021-09-15 13:00     ` Greg KH
2021-09-15 13:22       ` Yi Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).