lkml.org 
[lkml]   [2012]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Revoking filesystems [was Re: Sysfs attributes racing with unregistration]
Hello,

On Thu, Jan 05, 2012 at 08:03:16AM -0800, Eric W. Biederman wrote:
> Well the choices are really:
> a) On a block device hotunplug keep the device and have it simply report
> everything as errors, to the filesystem. Maybe with a hint to the
> filesystem that something is wrong.
> b) Have a filesystem revoke method so that we don't have to keep the
> unplugged block device structure around indefinitely.
>
> It seems clear that we are neither doing (a) or (b) which results in
> periodic and spectacular failures when block devices are unplugged,
> because we try and access block devices that no longer exist.

We're definitely doing a). If it's not working properly, it's a bug.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-01-05 17:47    [W:0.102 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site