Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2015 08:23:10 +0200
From:      =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= <trasz@FreeBSD.org>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: What's required to make removal of a mounted USB stick safe?
Message-ID:  <1306708F-0872-4D02-9C88-70F683018C39@FreeBSD.org>
In-Reply-To: <CAFMmRNwTi2GOEHN1tDQ7o1-VAtykT%2Bz3g%2B70qaDMenThSrSRgQ@mail.gmail.com>
References:  <CAFMmRNwTi2GOEHN1tDQ7o1-VAtykT%2Bz3g%2B70qaDMenThSrSRgQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Dnia 6 maj 2015 o godz. 22:49 Ryan Stone <rysto32@gmail.com> napisa=C5=82(a)=
:

> Currently FreeBSD stands a fair chance at panicking if a mounted USB drive=

> is removed while I/O is in flight.  Does anybody know what work is involve=
d
> to have the kernel safely recover from this case?  Losing data from the
> drive is expected of course but there's no reason that the entire kernel
> has to crash.

I've spent some time on this few years ago, and got it to work, except for o=
ne case: UFS with softupdates.  It's possible that some regressions have bee=
n introduced since then.  What's the filesystem?  Do you have a backtrace?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1306708F-0872-4D02-9C88-70F683018C39>