lkml.org 
[lkml]   [2013]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC] Rollback FS
From
On Sun, Oct 20, 2013 at 8:35 PM, Theodore Ts'o <tytso@mit.edu> wrote:
> On Sun, Oct 20, 2013 at 07:37:01PM +0800, jiaweiwei wrote:
>>
>> Any file system should rollback but not specific ones. Therefore, a
>> VFS like mechanism should be designed and implemented.
>
> And what if the blocks or inodes used for the files that were deleted
> have already been used and overwritten?

A good catch. Following ideas would be suitable.

1, Keep the blocks or inodes by a parameter we give.
2, Keep the blocks or inodes for several seconds.

>
>> Maybe, I would give detail design, thanks.
>
> I encourage you to try to do that; you might find it to be an
> educational exercise.
>

Yeah, I would, thanks.


--
do kernel


\
 
 \ /
  Last update: 2013-10-20 15:21    [W:0.080 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site