312cd3321a
Add support for ZFS (on Linux) filesystem. Following features are supported: - Create/delete share - Create/delete snapshot - Create share from snapshot - Extend/shrink share - Update NFS IP-based access rules using new interface. (SMB support planned for future). - create/delete/update/promote share replica ZFS-related notes: - Any amount of ZFS zpools can be used by share driver. - Allowed to configure default options for ZFS datasets that are used for share creation. - Any amount of nested datasets is allowed to be used. - All share replicas are read-only. - All share replicas are synched periodically, not continuously. So, status 'in_sync' means latest sync was successful. Time range between syncs equals to value of config global opt 'replica_state_update_interval'. Driver-related notes: - Able to use remote ZFSonLinux storage as well as local. Other made changes: - updated driver private data DB methods removing filtering by host as redundant operation. Replication requires some common metadata storage and filtering by host breaks it. It is safe to do so, because if driver gets some ID of entity then it is allowed to read its info too. Implements bp zfsonlinux-driver DocImpact Change-Id: I3ddd3767184e4843037de0ac75ff18dce709b6dc
0 lines
Python
0 lines
Python