Linux-BTRFS Archive on lore.kernel.org
 help / color / Atom feed
* btrfs-progs: misc/016 hangs at ioctl
@ 2019-12-04  6:06 Qu Wenruo
  2019-12-04  6:08 ` Qu Wenruo
  2019-12-09 15:32 ` David Sterba
  0 siblings, 2 replies; 6+ messages in thread
From: Qu Wenruo @ 2019-12-04  6:06 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1.1: Type: text/plain, Size: 446 bytes --]

Hi,

Found a strange failure at btrfs-progs selftest misc/016.

It hangs at current master 63de37476ebd ("Merge tag
'tag-chrome-platform-for-v5.5' of
git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux").

What makes it even more mysterious is, misc-5.5 passes.

Since there is no other btrfs pull, it's caused by some upstream
non-btrfs commits.

Doing bisecting, but any clue will be appreciated.

Thanks,
Qu


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: btrfs-progs: misc/016 hangs at ioctl
  2019-12-04  6:06 btrfs-progs: misc/016 hangs at ioctl Qu Wenruo
@ 2019-12-04  6:08 ` Qu Wenruo
  2019-12-04 16:17   ` David Sterba
  2019-12-09 15:32 ` David Sterba
  1 sibling, 1 reply; 6+ messages in thread
From: Qu Wenruo @ 2019-12-04  6:08 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1.1: Type: text/plain, Size: 628 bytes --]



On 2019/12/4 下午2:06, Qu Wenruo wrote:
> Hi,
> 
> Found a strange failure at btrfs-progs selftest misc/016.
> 
> It hangs at current master 63de37476ebd ("Merge tag
> 'tag-chrome-platform-for-v5.5' of
> git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux").
> 
> What makes it even more mysterious is, misc-5.5 passes.
> 
> Since there is no other btrfs pull, it's caused by some upstream
> non-btrfs commits.

BTW, no blocked kernel thread, no CPU usage.

And the hang can be canceled with a signal.

> 
> Doing bisecting, but any clue will be appreciated.
> 
> Thanks,
> Qu
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: btrfs-progs: misc/016 hangs at ioctl
  2019-12-04  6:08 ` Qu Wenruo
@ 2019-12-04 16:17   ` David Sterba
  2019-12-04 16:29     ` David Sterba
  0 siblings, 1 reply; 6+ messages in thread
From: David Sterba @ 2019-12-04 16:17 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: linux-btrfs

On Wed, Dec 04, 2019 at 02:08:14PM +0800, Qu Wenruo wrote:
> On 2019/12/4 下午2:06, Qu Wenruo wrote:
> > Found a strange failure at btrfs-progs selftest misc/016.
> > 
> > It hangs at current master 63de37476ebd ("Merge tag
> > 'tag-chrome-platform-for-v5.5' of
> > git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux").
> > 
> > What makes it even more mysterious is, misc-5.5 passes.
> > 
> > Since there is no other btrfs pull, it's caused by some upstream
> > non-btrfs commits.
> 
> BTW, no blocked kernel thread, no CPU usage.
> 
> And the hang can be canceled with a signal.
> 
> > 
> > Doing bisecting, but any clue will be appreciated.

This looks like a problem caused by recent merge of updates to pipe
(commit 6a965666b7e7475c2f8c8e724703db58b8a8a445). I can reproduce that
and now building test kernel before that commit. As this also blocks all
fstests that use send, we have to wait until it's fixed in master
branch.

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

* Re: btrfs-progs: misc/016 hangs at ioctl
  2019-12-04 16:17   ` David Sterba
@ 2019-12-04 16:29     ` David Sterba
  2019-12-04 17:06       ` David Sterba
  0 siblings, 1 reply; 6+ messages in thread
From: David Sterba @ 2019-12-04 16:29 UTC (permalink / raw)
  To: David Sterba; +Cc: Qu Wenruo, linux-btrfs

On Wed, Dec 04, 2019 at 05:17:23PM +0100, David Sterba wrote:
> On Wed, Dec 04, 2019 at 02:08:14PM +0800, Qu Wenruo wrote:
> > On 2019/12/4 下午2:06, Qu Wenruo wrote:
> > > Found a strange failure at btrfs-progs selftest misc/016.
> > > 
> > > It hangs at current master 63de37476ebd ("Merge tag
> > > 'tag-chrome-platform-for-v5.5' of
> > > git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux").
> > > 
> > > What makes it even more mysterious is, misc-5.5 passes.
> > > 
> > > Since there is no other btrfs pull, it's caused by some upstream
> > > non-btrfs commits.
> > 
> > BTW, no blocked kernel thread, no CPU usage.
> > 
> > And the hang can be canceled with a signal.
> > 
> > > 
> > > Doing bisecting, but any clue will be appreciated.
> 
> This looks like a problem caused by recent merge of updates to pipe
> (commit 6a965666b7e7475c2f8c8e724703db58b8a8a445). I can reproduce that
> and now building test kernel before that commit. As this also blocks all
> fstests that use send, we have to wait until it's fixed in master
> branch.

That hangs too, so that's going to be a long bisect.

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

* Re: btrfs-progs: misc/016 hangs at ioctl
  2019-12-04 16:29     ` David Sterba
@ 2019-12-04 17:06       ` David Sterba
  0 siblings, 0 replies; 6+ messages in thread
From: David Sterba @ 2019-12-04 17:06 UTC (permalink / raw)
  To: dsterba, Qu Wenruo, linux-btrfs

On Wed, Dec 04, 2019 at 05:29:54PM +0100, David Sterba wrote:
> On Wed, Dec 04, 2019 at 05:17:23PM +0100, David Sterba wrote:
> > On Wed, Dec 04, 2019 at 02:08:14PM +0800, Qu Wenruo wrote:
> > > On 2019/12/4 下午2:06, Qu Wenruo wrote:
> > > > Found a strange failure at btrfs-progs selftest misc/016.
> > > > 
> > > > It hangs at current master 63de37476ebd ("Merge tag
> > > > 'tag-chrome-platform-for-v5.5' of
> > > > git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux").
> > > > 
> > > > What makes it even more mysterious is, misc-5.5 passes.
> > > > 
> > > > Since there is no other btrfs pull, it's caused by some upstream
> > > > non-btrfs commits.
> > > 
> > > BTW, no blocked kernel thread, no CPU usage.
> > > 
> > > And the hang can be canceled with a signal.
> > > 
> > > > 
> > > > Doing bisecting, but any clue will be appreciated.
> > 
> > This looks like a problem caused by recent merge of updates to pipe
> > (commit 6a965666b7e7475c2f8c8e724703db58b8a8a445). I can reproduce that
> > and now building test kernel before that commit. As this also blocks all
> > fstests that use send, we have to wait until it's fixed in master
> > branch.
> 
> That hangs too, so that's going to be a long bisect.

Well the test took slightly longer than expected, so

commit 6a965666b7e7 -- first bad merge
commit 32ef9553635a -- last good merge

There are 13 commits in the pipe branch so I'll have to bisect anyway
but at least it's going to be faster.

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

* Re: btrfs-progs: misc/016 hangs at ioctl
  2019-12-04  6:06 btrfs-progs: misc/016 hangs at ioctl Qu Wenruo
  2019-12-04  6:08 ` Qu Wenruo
@ 2019-12-09 15:32 ` David Sterba
  1 sibling, 0 replies; 6+ messages in thread
From: David Sterba @ 2019-12-09 15:32 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: linux-btrfs

On Wed, Dec 04, 2019 at 02:06:11PM +0800, Qu Wenruo wrote:
> Hi,
> 
> Found a strange failure at btrfs-progs selftest misc/016.
> 
> It hangs at current master 63de37476ebd ("Merge tag
> 'tag-chrome-platform-for-v5.5' of
> git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux").
> 
> What makes it even more mysterious is, misc-5.5 passes.
> 
> Since there is no other btrfs pull, it's caused by some upstream
> non-btrfs commits.

For the record, 5.5-rc1 is ok again (several fixes in fs/pipe.c). So I'm
going to rebase misc-next on top of that.

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

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04  6:06 btrfs-progs: misc/016 hangs at ioctl Qu Wenruo
2019-12-04  6:08 ` Qu Wenruo
2019-12-04 16:17   ` David Sterba
2019-12-04 16:29     ` David Sterba
2019-12-04 17:06       ` David Sterba
2019-12-09 15:32 ` David Sterba

Linux-BTRFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-btrfs/0 linux-btrfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-btrfs linux-btrfs/ https://lore.kernel.org/linux-btrfs \
		linux-btrfs@vger.kernel.org
	public-inbox-index linux-btrfs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-btrfs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git