Skip to contentSkip to conversation

ext3 file system

DISCUSSION jshankar 3 participants 3 messages Dec 17, 2003 VFS

lore
Share & tools
lore

jshankar

author
#0 lore raw

Hello,

Does the ext3 file systems have to wait for the acknowledgement of block of data written to the SCSI device before writing the next block of data.

Is there a parallel I/O where the file system goes on writing the block of data
without waiting for the acknowledgement.

Please let me know your opinion.

Thanks
Jayshankar

#1 lore raw
Quoted 5 lines · jshankar

Hello,

Does the ext3 file systems have to wait for the acknowledgement of block of data written to the SCSI device before writing the next block of data.

No. Many SCSI drives and adapters allow queued commands and disconnect operation.

Quoted 4 lines

Is there a parallel I/O where the file system goes on writing the block of data
without waiting for the acknowledgement.

This is the normal mode of operation.

Quoted 5 lines

Please let me know your opinion.

Thanks
Jayshankar

Normal Unix/Linux file-systems write data to RAM. At some unknown time, when memory gets tight, some data are written to the device.

Basically with Unix/Linux, you are using a RAM-Disk that overflows to the physical media. There are special file-systems (journaling) that guarantee that something, enough to recover the data, is written at periodic intervals.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.

#2 lore raw
Quoted 3 lines · Richard B. Johnson

to the physical media. There are special file-systems (journaling) that guarantee that something, enough to recover the data, is written at periodic intervals.

Most journaling filesystems make guarantees on the filesystem meta-data, but not on the data. Some like ext3, and reiserfs (with suse's journaling patch) can journal the data, or order things so that the data is written before any pointers (ie meta-data) make it to the disk so it will be harder to loose data.