Vectorized Read?
Posted Mar 23, 2007 20:22 UTC (Fri) by
vmole (subscriber, #111)
In reply to:
Vectorized Read? by zlynx
Parent article:
The 2007 Linux Storage and File Systems Workshop
Please explain further (I'm not doubting you, just trying to understand). If you open a block device (e.g. /dev/hda1), and you can read at specific offsets (which is what readv(2) gives you), isn't that being able to read specific blocks? I mean, I understand that it's not the underlying physical disk blocks, but isn't the mapping between physical disk blocks and the logical blocks that the filesystem sees all handled in hardware?
A very quick glance at the e2fsprogs source indeed seems to use open("/dev/hda1") and read/write.
Where's Mr. Tso when we need him?
(
Log in to post comments)