On Feb 8, 2010, at 9:10 PM, Damon Atkins wrote:

> I would have thought that if I write 1k then ZFS txg times out in 30secs, 
> then the 1k will be written to disk in a 1k record block, and then if I write 
> 4k then 30secs latter txg happen another 4k record size block will be 
> written, and then if I write 130k a 128k and 2k record block will be written.
> 
> Making the file have record sizes of
> 1k+4k+128k+2k

Close. Once the max record size is achieved, it is not reduced.  So the
allocation is:
        1KB + 4KB + 128KB + 128KB

Physical writes tend to be coalesced, which is one reason why a transactional
system performs well.
 -- richard

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to