[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] NBD, DISCARD/TRIM



> >> 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: