Just a thought: would it be theoretically possible to designate some
device as a system-wide write cache for all FS writes? Not just ZFS,
but for everything... In a manner similar to which we currently use
extra RAM as a cache for FS read (and write, to a certain extent), it
would be really nice to be able to say that a NVRAM/Flash/etc. device
is the system-wide write cache, so that calls to fsync() and the like -
which currently force a flush of the RAM-resident buffers to disk -
would return as complete after the data was written to such a SSD (even
though it might not all be written to a HD yet).
Thoughts? How difficult would this be? And, problems ? (the biggest I
can see is for Flash, which, if it is being constantly written two, will
wear out relatively quickly...)
-Erik
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss