File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/app/shared/commands/configure Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,12 @@ fini( config_t const * config,
318
318
}
319
319
320
320
/* The normal pages mount directory is not a hugetlbfs mount, so we need to handle it separately. */
321
+ /* In some cases, the normal pages mount directory has been mounted by a different process, so we
322
+ umount it just to be on the safe side. */
323
+ if ( FD_UNLIKELY ( !umount ( config -> hugetlbfs .normal_page_mount_path ) ) ) {
324
+ FD_LOG_DEBUG (( "error unmounting hugetlbfs normal pages directory at `%s` (%i-%s). this is expected in normal operation" ,
325
+ config -> hugetlbfs .normal_page_mount_path , errno , fd_io_strerror ( errno ) ));
326
+ }
321
327
if ( FD_UNLIKELY ( empty_dir_top_level (config -> hugetlbfs .normal_page_mount_path ) && errno != ENOENT ) )
322
328
FD_LOG_ERR (( "error emptying hugetlbfs normal pages directory at `%s` (%i-%s)" ,
323
329
config -> hugetlbfs .normal_page_mount_path , errno , fd_io_strerror (errno ) ));
You can’t perform that action at this time.
0 commit comments