Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1552919

Re: [V9fs-developer] 9pfs hangs since 4.7

From Greg Kurz <groug@kaod.org>
Newsgroups linux.kernel
Subject Re: [V9fs-developer] 9pfs hangs since 4.7
Date 2017-01-06 17:20 +0100
Message-ID <sWFpf-4oA-3@gated-at.bofh.it> (permalink)
References (2 earlier) <sVdEJ-16T-1@gated-at.bofh.it> <sVGQq-4Vk-25@gated-at.bofh.it> <sVISd-6cB-3@gated-at.bofh.it> <sW02J-12y-11@gated-at.bofh.it> <sW3N0-3wW-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 4 Jan 2017 23:01:01 +0000
Al Viro <viro@ZenIV.linux.org.uk> wrote:

> > Here's logs that should be complete this time:
> > 
> > https://gist.githubusercontent.com/dezgeg/08629d4c8ca79da794bc087e5951e518/raw/a1a82b9bc24e5282c82beb43a9dc91974ffcf75a/9p.qemu.log
> > https://gist.githubusercontent.com/dezgeg/1d5f1cc0647e336c59989fc62780eb2e/raw/d7623755a895b0441c608ddba366d20bbf47ab0b/9p.dmesg.log  
> 
> Fun.  All requests prior to
> [  360.110282]       dd-1899    1.... 18497262us : 9p_client_req: client 18446612134390128640 request P9_TWALK tag  25
> line in dmesg had been seen by the servers; all requests starting with that
> one had not.  Replies to earlier requests kept arriving just fine.
> 

Looking at the tag numbers, I think we're hitting the hardcoded limit of 128
simultaneous requests in QEMU (which doesn't produce any error, new requests
are silently dropped).

Tuomas, can you change MAX_REQ to some higher value (< 65535 since tag is
2-byte and 0xffff is reserved) to confirm ?

> >From the server side, everything looks nice and sane - it has processed  
> all requests it had seen, and aside of slight difference in the arrival
> order server-side and client-side logs match, except for the last 26
> requests the client claims to have sent and the server has never seen.
> 
> All traffic for another client (there had been less of it) has ceased long
> before that point, so we can't really tell if it's just this client that
> got buggered.  Interesting...
> 
> Looking at the tracepoints, those requests got through p9_client_prepare_req();
> we have no idea whether it got through p9_virtio_request().  OTOH, AFAICS
> nothing had been sleeping in there...
> 
> FWIW, it might be interesting to try
> 	WARN_ON(!virtqueue_kick(chan->vq));
> in p9_virtio_request() (instead of blind virtqueue_kick(chan->vq)) and see
> if it triggers.  Incidentally, it looks like p9_virtio_request() ought to
> return an error if that happens...
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> V9fs-developer mailing list
> V9fs-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/v9fs-developer

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: 9pfs hangs since 4.7 Tuomas Tynkkynen <tuomas@tuxera.com> - 2017-01-04 00:40 +0100
  Re: 9pfs hangs since 4.7 Al Viro <viro@ZenIV.linux.org.uk> - 2017-01-04 02:50 +0100
    Re: 9pfs hangs since 4.7 Tuomas Tynkkynen <tuomas@tuxera.com> - 2017-01-04 21:10 +0100
      Re: 9pfs hangs since 4.7 Al Viro <viro@ZenIV.linux.org.uk> - 2017-01-05 01:10 +0100
        Re: [V9fs-developer] 9pfs hangs since 4.7 Greg Kurz <groug@kaod.org> - 2017-01-06 17:20 +0100
          Re: [V9fs-developer] 9pfs hangs since 4.7 Al Viro <viro@ZenIV.linux.org.uk> - 2017-01-07 07:30 +0100
            Re: [V9fs-developer] 9pfs hangs since 4.7 Greg Kurz <groug@kaod.org> - 2017-01-07 16:20 +0100
              Re: [V9fs-developer] 9pfs hangs since 4.7 Al Viro <viro@ZenIV.linux.org.uk> - 2017-01-07 18:20 +0100
                Re: [V9fs-developer] 9pfs hangs since 4.7 Al Viro <viro@ZenIV.linux.org.uk> - 2017-01-07 19:20 +0100
                Re: [V9fs-developer] 9pfs hangs since 4.7 Al Viro <viro@ZenIV.linux.org.uk> - 2017-01-08 06:50 +0100
                Re: [V9fs-developer] 9pfs hangs since 4.7 Greg Kurz <groug@kaod.org> - 2017-01-10 09:40 +0100
                Re: [V9fs-developer] 9pfs hangs since 4.7 Greg Kurz <groug@kaod.org> - 2017-01-09 19:30 +0100
                Re: [V9fs-developer] 9pfs hangs since 4.7 Tuomas Tynkkynen <tuomas@tuxera.com> - 2017-01-09 19:40 +0100
                Re: [V9fs-developer] 9pfs hangs since 4.7 Al Viro <viro@ZenIV.linux.org.uk> - 2017-01-09 21:10 +0100

csiph-web