]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
9330 stack overflow when creating a deeply nested dataset
authorAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 21:12:52 +0000 (21:12 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 21:12:52 +0000 (21:12 +0000)
commitcb97edbcd01e21cb237997ffade4cdcae29f34da
tree103419dbd817f4147fde069d0e1eb5a5fc5b37c8
parent8398b8e9665135b6816a78ba3cbb60d8daefd153
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>
common/zfs/zfs_namecheck.c
common/zfs/zfs_namecheck.h
lib/libzfs/common/libzfs_dataset.c
man/man1m/zfs.1m
uts/common/fs/zfs/dmu_objset.c
uts/common/fs/zfs/dsl_dir.c