Thanks for taking this up! Can this implementation detect pool made available on a different node (say as part of high availability) without l2arc vdev and then coming back to original node with l2arc vdev, do we lose all the cache in that case or could we detect changed vdas? ________________________________ From: gamana...@gmail.com <gamana...@gmail.com> Sent: Thursday, February 13, 2020 8:20:42 AM To: openzfs-developer <developer@lists.open-zfs.org> Subject: [developer] Introducing: Persistent L2ARC (ready for review)
Dear OpenZFS, the last couple of months I have been working on getting L2ARC persistence to work in ZFSonLinux. This effort was based on previous work by Saso Kiselkov (@skiselkov) in Illumos (https://www.illumos.org/issues/3525 [illumos.org]<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.illumos.org_issues_3525&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=kpkAo4wMMxDOhZAjby-Xmebc3-h9irqhHauI43zGBvw&m=2MF_8Rei41zsf6LrQkfVGLgpoh-WrjXfTb0qEDZmvQg&s=pPogojiH8U7UObB4MSBLDU1_iIYaPJyjXVNFErBmX2Q&e=>), which was later ported by Yuxuan Shui (@yshui) to ZoL (https://github.com/zfsonlinux/zfs/pull/2672 [github.com]<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_zfsonlinux_zfs_pull_2672&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=kpkAo4wMMxDOhZAjby-Xmebc3-h9irqhHauI43zGBvw&m=2MF_8Rei41zsf6LrQkfVGLgpoh-WrjXfTb0qEDZmvQg&s=letI6g-dWFcYp5BkNlsLzl4KEsiRal6b_VTLWCkHGuE&e=>), subsequently modified by Jorgen Lundman (@lundman), and rebased to master with multiple additions and changes by me (@gamanakis). The end result is in: https://github.com/zfsonlinux/zfs/pull/9582 [github.com]<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_zfsonlinux_zfs_pull_9582&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=kpkAo4wMMxDOhZAjby-Xmebc3-h9irqhHauI43zGBvw&m=2MF_8Rei41zsf6LrQkfVGLgpoh-WrjXfTb0qEDZmvQg&s=x25pfwJUeeBU113cuABQzVBCE8hvJBwZp8seR2uzyOU&e=> I would like to raise awareness about this upcoming feature and invite all to test and review the work done there. Best regards, George Amanakis openzfs [openzfs.topicbox.com]<https://urldefense.proofpoint.com/v2/url?u=https-3A__openzfs.topicbox.com_latest&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=kpkAo4wMMxDOhZAjby-Xmebc3-h9irqhHauI43zGBvw&m=2MF_8Rei41zsf6LrQkfVGLgpoh-WrjXfTb0qEDZmvQg&s=cKeyraucgFW-ZYbwV-TY8ruEl5xR3N2uvWatpVVY7Eo&e=> / openzfs-developer / see discussions [openzfs.topicbox.com]<https://urldefense.proofpoint.com/v2/url?u=https-3A__openzfs.topicbox.com_groups_developer&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=kpkAo4wMMxDOhZAjby-Xmebc3-h9irqhHauI43zGBvw&m=2MF_8Rei41zsf6LrQkfVGLgpoh-WrjXfTb0qEDZmvQg&s=oJI12bWCXx2M4TzQI0-LSa9fIC1oCplSk-70KOIzKNE&e=> + participants [openzfs.topicbox.com]<https://urldefense.proofpoint.com/v2/url?u=https-3A__openzfs.topicbox.com_groups_developer_members&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=kpkAo4wMMxDOhZAjby-Xmebc3-h9irqhHauI43zGBvw&m=2MF_8Rei41zsf6LrQkfVGLgpoh-WrjXfTb0qEDZmvQg&s=-ivBVeTdoY9mAQo766c6vysD0yE3X8-p0pkvvVfCu8U&e=> + delivery options [openzfs.topicbox.com]<https://urldefense.proofpoint.com/v2/url?u=https-3A__openzfs.topicbox.com_groups_developer_subscription&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=kpkAo4wMMxDOhZAjby-Xmebc3-h9irqhHauI43zGBvw&m=2MF_8Rei41zsf6LrQkfVGLgpoh-WrjXfTb0qEDZmvQg&s=iFbErDp2jF4p82qgIxUfsNRF4YnidxhKWDZ4CdLVAKk&e=> Permalink [openzfs.topicbox.com]<https://urldefense.proofpoint.com/v2/url?u=https-3A__openzfs.topicbox.com_groups_developer_T600ae09239afb0c9-2DMf1f9397332c6bbdb3653e81d&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=kpkAo4wMMxDOhZAjby-Xmebc3-h9irqhHauI43zGBvw&m=2MF_8Rei41zsf6LrQkfVGLgpoh-WrjXfTb0qEDZmvQg&s=PzsFbqi5dcJJOlyhz6hBDdLF5gU73lHqILNPYPsagL0&e=> ------------------------------------------ openzfs: openzfs-developer Permalink: https://openzfs.topicbox.com/groups/developer/T600ae09239afb0c9-Ma2150ba4289c207c5758f44f Delivery options: https://openzfs.topicbox.com/groups/developer/subscription