mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
Merge pull request #35836 from mgfritch/vstart-out-dir-logs
vstart: out dir can contain a large number of files Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
5667b033fa
@ -1186,7 +1186,7 @@ fi
|
||||
[ -d $CEPH_OUT_DIR ] || mkdir -p $CEPH_OUT_DIR
|
||||
[ -d $CEPH_DEV_DIR ] || mkdir -p $CEPH_DEV_DIR
|
||||
if [ $inc_osd_num -eq 0 ]; then
|
||||
$SUDO rm -rf $CEPH_OUT_DIR/*
|
||||
$SUDO find "$CEPH_OUT_DIR" -type f -delete
|
||||
fi
|
||||
[ -d gmon ] && $SUDO rm -rf gmon/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user