Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- To: Paul Clements <paul.clements@...856...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>, Wouter Verhelst <w@...112...>
- Subject: Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Wouter Verhelst <wouter@...825...>
- Date: Tue, 19 Nov 2013 22:56:15 +0100
- Message-id: <528BDE7F.8030205@...825...>
- In-reply-to: <CAECXXi4mBx7mSHdviTuCya0NLCS4bAh+ehQ9vJzQ_BqxtsBh3Q@...18...>
- References: <8bf7c5db475eefcf17976a36f892200d@...1427...> <20131112214632.GB31763@...1426...> <7c1b2ca40c3abfe805e9e944f21c7016@...1427...> <20131114075827.GA13554@...1426...> <5285D258.9040808@...112...> <CAECXXi6Vt5gAjv=qkrGzLG3iRjNmjYiYZd7+gCXK860a2tonKg@...18...> <52889084.2080700@...825...> <C2E9E8AD-752C-4190-BD4F-45A9482FF400@...872...> <CAECXXi7dEzPct6iEWxOFiPf707VOhFKwFFb6Og_G2+qOv-Od-g@...18...> <528AA167.9020205@...112...> <CAECXXi57kEMP7zm9j8cyw-KA=Z_20nhG-CbGZUthrKH84-AqxQ@...18...> <528BB9A6.6000901@...112...> <CAECXXi4mBx7mSHdviTuCya0NLCS4bAh+ehQ9vJzQ_BqxtsBh3Q@...18...>
Op 19-11-13 20:33, Paul Clements schreef:
> > Anything specific that would make it easier from your perspective?
> One
> > thought is to have SET_FLAGS fail when an unknown flag is passed. Or
> > say a get_capabilities() type call?
>
> A get_capabilities() would be most useful, yes.
>
>
> Anything besides supported flags that the client needs to know? Or are
> we really maybe just talking about a GET_FLAGS ioctl or other (possibly
> sysfs) advertisement of flags?
That sounds even better, since that will allow me to detect whether the
capabilities thing is supported without having to call a (possibly
nonexisting) ioctl(), simply by checking for the existence of a file.
also, I don't think there will ever be something which we might want to
know about which wouldn't be possible to express through the use of flags...
--
This end should point toward the ground if you want to go to space.
If it starts pointing toward space you are having a bad problem and you
will not go to space today.
-- http://xkcd.com/1133/
Reply to:
- References:
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Jan Kara <jack@...1290...>
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Wouter Verhelst <w@...112...>
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Paul Clements <paul.clements@...856...>
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Wouter Verhelst <wouter@...825...>
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Alex Bligh <alex@...872...>
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Paul Clements <paul.clements@...856...>
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Wouter Verhelst <w@...112...>
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Paul Clements <paul.clements@...856...>
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Wouter Verhelst <w@...112...>
- Re: [Nbd] 3.12 BUG() on ext4, kernel crash on nbd-client when nbd server rebooting
- From: Paul Clements <paul.clements@...856...>