Re: Q: NTFS?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 23 Nov 1996 13:19:46 +0000 (GMT)


> 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