lkml.org 
[lkml]   [2000]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Of removable devices
In <14516.26884.304027.933990@dukat.scot.redhat.com> Stephen C. Tweedie (sct@redhat.com) wrote:
> Hi,

> On Wed, 23 Feb 2000 17:34:43 -0000, "Towers, Tim (London)"
> <ttowers@MLE.CO.UK> said:

>> However, to protect users who have a removable media removed whilst
>> writes are occurring - Is there a way of remembering unwritten data
>> and requeueing it if a semi-written media is placed back in.

> Not really --- there is no reliable way to determine that it is the same
> disk which has been replaced,

There ARE such way: both FAT and EXT2FS use serial numbers. Of course it's
filesystem-specific thing but two mentioned above are by far most common ones
in Linux world.

> and queuing things to the wrong disk would be fatal.

This is true :-(

> You're also risking serious virtual memory deadlock problems
> if you "pin" that dirty data without hope of writeback for an extended
> period of time, although that effect could be limited with work.





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans