]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV r337182: 9330 stack overflow when creating a deeply nested dataset
authorAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 21:19:35 +0000 (21:19 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 21:19:35 +0000 (21:19 +0000)
commit2bce9a531601e917fa9426af29395adfdb1ba68d
tree09d8253614812996016dddac10d7002cf3514376
parent3f586250d8ff21f35c1cf90f1fc06ed794e83877
parentcb97edbcd01e21cb237997ffade4cdcae29f34da
MFV r337182: 9330 stack overflow when creating a deeply nested dataset

Datasets that are deeply nested (~100 levels) are impractical. We just put
a limit of 50 levels to newly created datasets. Existing datasets should
work without a problem.

illumos/illumos-gate@5ac95da7d61660aa299c287a39277cb0372be959

Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Matt Ahrens <matt@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author:     Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
cddl/contrib/opensolaris/cmd/zfs/zfs.8
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c
sys/cddl/contrib/opensolaris/common/zfs/zfs_namecheck.c
sys/cddl/contrib/opensolaris/common/zfs/zfs_namecheck.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c