Draft: Add the option to sort by ctime as returned by lstat syscall.

  • new field to Disorderfs_config
  • overload of the < operator for timespec
  • adapts disorderfs_fuse_opts and fuse_opt_proc to include the new option
  • adapted the output (!config.quiet) to reflect the sorting target appropriately
  • create and sort auxiliary array according to ctime (+ error handling)
  • overwrite dirents according to the order or sorted auxiliary
  • add a test
Edited by Christelle Gloor

Merge request reports

Loading