Cleaned up dependent fixes on branch

These should probably have been cleaned up in each commit to allow
cherry-picking, but due to time I haven't been able to.

- Went with creating an mdir copy in lfs_dir_commit. This handles a
  number of related cleanup issues in lfs_dir_compact and it does so
  more robustly. As a plus we can use the copy to update dependencies
  in the mlist.

- Eliminated code left by the ENOSPC file outlining

- Cleaned up TODOs and lingering comments

- Changed the reentrant many directory create/rename/remove test to use
  a smaller set of directories because of space issues when
  READ/PROG_SIZE=512
This commit is contained in:
Christopher Haster
2020-02-09 10:02:41 -06:00
parent 6530cb3a61
commit 02c84ac5f4
3 changed files with 85 additions and 111 deletions

View File

@@ -155,7 +155,7 @@ code = '''
'''
[[case]] # reentrant many directory creation/rename/removal
define.N = [5, 10] # TODO changed from 20, should we be able to do more?
define.N = [5, 11]
reentrant = true
code = '''
err = lfs_mount(&lfs, &cfg);