lkml.org 
[lkml]   [1996]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Q: NTFS?
Date

> I doubt we'd want to get the Linux VFS layer involved. It sounds like
> it could be done entirely within the NTFS layer. If you run out of
> space, presumably what you'll need to do is to store transactions in
> memory during the rollback, clearing, and reissue process. And if the
> system crashes during this operation, it's hasta luego to all of the
> data hadn't been fully committed to the log.....

I don't think we need to break any logging requiremnts. The write() and
related syscalls can start


while((logbuf=ntfs_getlogbuffer(SIZE))==NULL)
sleep_on(&ntfs_log_wait);

so that the syscall for write() wont return until the log has been
emptied enough to commit this syscall


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.052 / U:1.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site