Alan DuBoff wrote:
On Thursday 19 October 2006 02:46 am, Darren J Moffat wrote:
ZFS only does byte swapping for ZFS metadata not application data.  You
really don't want the filesystem doing application data byte swapping on
the fly - since you don't know which apps are written for a given
endianness and which are byte swap aware.

So, why would you use hardware instructions opposed to the network functions to convert application data other than speed? Wouldn't the network functions be preferred for applications?

Why would you use functions from a networking library if you are only writing to disk ?

The hardware instructions maybe because of speed but could also be an atomicity requirement - without knowing the reason the question was asked it is hard to say.

--
Darren J Moffat
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to