Hi,
any reason why ide (drivers/blocks/hd.c) has 4096-sized
buffers and SCSI disks (drivers/scsi/sd.c) have 1024 ?
also, is there any provision for implementing partially filled
buffers blocks in the kernel ? Ie, if you do a write of
512 bytes in a device whose buffer cache block size is greater
than 512, you get first a read of that block, then the copy_from_user(),
then the write.
With IDE you get
read(4096)
write(4096)
for each partial operation whose data is not yet in the cache.
thanks for any comments.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html