Re: [Nbd] NBD, DISCARD/TRIM
- To: folkert <folkert@...421...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] NBD, DISCARD/TRIM
- From: Paul Clements <paul.clements@...856...>
- Date: Fri, 29 Mar 2013 10:30:23 -0400
- Message-id: <CAECXXi7=Nh6jwF3w6d7kEJR4W37gqUjdmOsaGRtdvdHcc6S-fg@...18...>
- In-reply-to: <20130328163642.GY32435@...855...>
- References: <CAECXXi5N6RpC8=YcWFaiwH2oBA8aJHRvcwLJg_Hw14ESL1+bnA@...18...> <CAECXXi6G3ydMAvjP1fHJJ-Jn_6e3GQO51XiVy4jpXv1yu2X1jw@...18...> <20130322212454.GC19387@...855...> <CAECXXi6V+onKJjR+NZ0nDLHtXze2tTeQZdPHYX8rozB06-C+bg@...18...> <20130325192620.GF32435@...855...> <CAECXXi5sMNO7GFeicPh9JPtNk7tMSPoXH_14eOtbns+ik5eX8w@...18...> <20130325204900.GH32435@...855...> <CAECXXi7O2JDfMJ6-8oio6ykoximBP4+KtfPjX6ATgt84rW4FjQ@...18...> <20130327204914.GT32435@...855...> <CAECXXi6LQ0oLWV3WvWDmiN1pDUEyHEfpn4jfmzh--PpMYXLfSQ@...18...> <20130328163642.GY32435@...855...>
On Thu, Mar 28, 2013 at 12:36 PM, folkert <folkert@...421...> wrote:
>> Very good. Would it be at all possible to try the attached patch,
>> which includes some additional debugging information, so that we can
>> see why this is happening?
>
> It is unclear which process is the trigger:
>
> [ 71.078260] got ERESTARTSYS: sig:17 code:262145 sender:2853
OK, so sig 17 is SIGCHLD??? This is weird. I'm not that familiar with
latest upstream nbd-client, but is there maybe some fork or thread
that is happening? Is this ps listing all threads (perhaps 2853 is a
sub-thread of nbd-client?).
> root 2852 1 3 17:31 ? 00:00:03 nbd-client 172.16.86.1 12342 /dev/nbd0
> root 2854 2 46 17:31 ? 00:00:43 [nbd0]
>
> I would almost say that it is something in nbd-client itself?
Agreed...it certainly looks that way...
I'll look at latest nbd-client source and see if anything looks
suspicious, but in the meantime if anyone more familiar with that code
can chime in, that would be great.
--
Paul
Reply to:
- References:
- Re: [Nbd] NBD, DISCARD/TRIM
- From: Paul Clements <paul.clements@...856...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: Paul Clements <paul.clements@...856...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: folkert <folkert@...421...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: Paul Clements <paul.clements@...856...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: folkert <folkert@...421...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: Paul Clements <paul.clements@...856...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: folkert <folkert@...421...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: Paul Clements <paul.clements@...856...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: folkert <folkert@...421...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: Paul Clements <paul.clements@...856...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: folkert <folkert@...421...>