Re: [Nbd] NBD, DISCARD/TRIM
- To: Paul Clements <paul.clements@...856...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] NBD, DISCARD/TRIM
- From: folkert <folkert@...421...>
- Date: Fri, 29 Mar 2013 17:29:02 +0100
- Message-id: <20130329162900.GA32435@...855...>
- In-reply-to: <CAECXXi7=Nh6jwF3w6d7kEJR4W37gqUjdmOsaGRtdvdHcc6S-fg@...18...>
- References: <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...> <CAECXXi7=Nh6jwF3w6d7kEJR4W37gqUjdmOsaGRtdvdHcc6S-fg@...18...>
> >> 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?).
ps -deafL gives me:
root 2893 2519 2893 0 1 15:52 ? 00:00:00 sleep 600
root 2895 1 2895 12 1 15:55 ? 00:00:01 nbd-client 172.16.86.1 12342 /dev/nbd0
root 2897 2 2897 32 1 15:55 ? 00:00:04 [nbd0]
root 2899 2 2899 0 1 15:55 ? 00:00:00 [flush-43:0]
and again:
[ 1399.482354] EXT4-fs (nbd0): mounting with "discard" option, but the device does not support discard
[ 1399.482365] EXT4-fs (nbd0): mounted filesystem with ordered data mode. Opts: barrier=1,discard
[ 1518.780850] got ERESTARTSYS: sig:17 code:262145 sender:2896
So no: not a thread.
Folkert van Heusden
--
MultiTail er et flexible tool for å kontrolere Logfiles og commandoer.
Med filtrer, farger, sammenføringer, forskeliger ansikter etc.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
Reply to:
- References:
- 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...>
- Re: [Nbd] NBD, DISCARD/TRIM
- From: Paul Clements <paul.clements@...856...>