On Mon, Feb 7, 2011 at 6:15 AM, Yi Zhang <yizhan...@gmail.com> wrote:
> On Mon, Feb 7, 2011 at 12:25 AM, Richard Elling
> <richard.ell...@gmail.com> wrote:
>> Solaris UFS directio has three functions:
>>        1. improved async code path
>>        2. multiple concurrent writers
>>        3. no buffering
>>
> Thanks for the comments, Richard. All I wanted is to achieve 3 on ZFS.
> But as I said, apprently 2.a) below didn't give me that. Do you have
> any suggestion?

Don't. Use a ZIL, which will meet the requirements for synchronous IO.
Set primarycache to metadata to prevent caching reads.

ZFS is a very different beast than UFS and doesn't require the same tuning.

-B

-- 
Brandon High : bh...@freaks.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to