On 15/02/2010 19:15, Yi Zhang wrote:
Can you create a zvol and use that for ufs?  Slow, but ...

Casper



Casper, thanks for the tip! Actually I'm not sure if this would work
for me. I wanted to use directio to bypass the file system cache when
reading/writing files. That's why I chose UFS instead of ZFS. Now if I
create UFS on top of zvol, I'm not sure if a call to directio() would
actually do its work...

Why not just use ZFS and set the similar options on the ZFS dataset:
        zfs set primarycache=metadata <datasetname>

That is a close approximation to the UFS feature of directio() for bypassing storing the data in the filesystem cache.

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

Reply via email to