Block size and read-modify-write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,
I would ask a question: how XFS block size affect read-modify-write in case of very small writes?

For example, suppose an XFS filesystem with the default 4K data block size. Am I correct saying that: - a 512B normal, cached writes will cause a read-modify-write of the entire 4K sector? - a 512B O_DIRECT write will *not* cause a read-modify-write of the 4K sector, rather it will be flushed to disk as-is (512 bytes in length)?

Thanks.

--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@xxxxxxxxxx - info@xxxxxxxxxx
GPG public key ID: FF5F32A8
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux