lkml.org 
[lkml]   [1999]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PATCH: Update for the serial driver.
Date
From
>Note that being able to unload your primary disk driver is completely
>useless.

It might be useful to be able to update your primary disk
driver on the fly, without rebooting. It might be useful to keep your
system running while you switch from a failing drive to a good one.

Impossible? Not if you have enough memory! Might take a
little hackery at the VFS and block cache levels, though:

Setp 1: mount primary filesystem
Step 2: read all blocks into cache
Step 3: disconnect filesystem from driver
Step 4: unload driver
... run for a while ...
Step 5: reload driver (load a new driver?)
Step 6: reconnect filesystem to driver
Step 7: update filesystem on disk
a) if reconnected to the same partition, update only changed blocks
b) if connected to a different partition, write all blocks


You may have noticed that I've combined two different proposed
features. The ability to read a filesystem into memory, switch its
drive/partition, and write it out again, is independent of the feature
of unloading the primary driver.

Craig Milo Rogers


-
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:53    [W:0.227 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site