Folks, While going through zpool source code, I see a configuration option called l2cache. What is this option for? It doesn''t seem to be documented. Thank you in advance for your help. Regards, Peter -- This message posted from opensolaris.org
On 09/22/10 11:23, Peter Taps wrote:> Folks, > > While going through zpool source code, I see a configuration option called l2cache. What is this option for? It doesn''t seem to be documented. > > Thank you in advance for your help. > > Regards, > Peter >man zpool under "Cache Devices" section
Neil, Thank you for your help. However, I don''t see anything about l2cache under "Cache devices" man pages. To be clear, there are two different vdev types defined in zfs source code - "cache" and "l2cache." I am familiar with "cache" devices. I am curious about "l2cache" devices. Regards, Peter -- This message posted from opensolaris.org
On 9/22/10 1:40 PM, Peter Taps wrote:> Neil, > > Thank you for your help. > > However, I don''t see anything about l2cache under "Cache devices" man pages. > > To be clear, there are two different vdev types defined in zfs source code - "cache" and "l2cache." I am familiar with "cache" devices. I am curious about "l2cache" devices. > > Regards, > PeterHi Peter, See this section of the ZFS Admin Guide: http://docs.sun.com/app/docs/doc/819-5461/ghbxt?l=en&a=view Scroll down to this section: Setting cache properties on a ZFS file system Thanks, Cindy
On 09/22/10 13:40, Peter Taps wrote:> Neil, > > Thank you for your help. > > However, I don''t see anything about l2cache under "Cache devices" man pages. > > To be clear, there are two different vdev types defined in zfs source code - "cache" and "l2cache." I am familiar with "cache" devices. I am curious about "l2cache" devices. > > Regards, > Peter >They are one and the same. It''s a bit confusing, but ''cache'' was the external name given to l2cache (level 2 cache) vdevs.