DragonFly commits List (threaded) for 2008-07
DragonFly BSD
DragonFly commits List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/vfs/hammer hammer.h hammer_blockmap.c hammer_flusher.c hammer_inode.c hammer_io.c hammer_object.c hammer_ondisk.c hammer_undo.c hammer_vfsops.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Jul 2008 23:41:12 -0700 (PDT)

:Matthew Dillon wrote:
:>   * Read or Write errors in the flush path disable flushing and force the mount
:>     into read-only mode.  Modified buffers are left locked in memory until
:>     umount to provide a consistent snapshot of the state of the filesystem.
:
:Does this mean that -- theoretically -- we would be able to flush out 
:the remaining data once the media has been re-plugged?
:
:cheers
:   simon

    Theoretically, yes.  Realistically, it would take more work because
    the in-memory version of the filesystem might not be in good enough
    shape (due to all the partially synced inode state and flush-aborted
    inodes) to safely restart the flush.

    So at least for the release it won't be allowed.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]