Re: [SUGGESTION]: drop virtual merge accounting in I/O requests

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mikulas Patocka
Date: Tuesday, July 15, 2008 - 5:09 am

>> BTW. what should the block device driver do when it receives a mapping

Writes are done by an async daemon and no one checks for their completion 
status. If there are three writes to directory, inode table and inode 
bitmap and one of these writes fail, there's no code to undo the other 
two. So the filesystem will be corrupted on write failure.


So should it return SCSI_MLQUEUE_HOST_BUSY? Or something other?

Unfortunatelly, many of the drivers contain BUG_ON or no check at all.

Mikulas
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[SUGGESTION]: drop virtual merge accounting in I/O requests, Mikulas Patocka, (Thu Jul 10, 2:56 pm)
Re: [SUGGESTION]: drop virtual merge accounting in I/O req ..., Mikulas Patocka, (Tue Jul 15, 5:09 am)