[developer] [openzfs/openzfs] 0000 Buffer overflow in dsl_dataset_name() (#476)

2017-10-09 Thread LOLi
If we're creating a pool with version >= SPA_VERSION_DSL_SCRUB (v11) we need to account for additional space needed by the origin dataset which will also be snapshotted: "poolname"+"/"+"$ORIGIN"+"@"+"$ORIGIN". Enforce this limit in `pool_namecheck()`. Ported from

Re: [developer] spa_namespace_lock vs spa_config locks

2017-10-09 Thread sanjeev bagewadi
Andriy, I agree with your observations. We hit something similar and i have raised the following bug : #6649 No recovery was possible. All zpool commands (including "status") were blocked. Also, zed disk-agent which was trying to mark the device