nilfs2-kmod10 v2.0 release
Pre-release
Pre-release
- Backport upstream changes to add support for common ioctls for getting the volume UUID and the relative path of an FS instace within the sysfs namespace, and for getting and setting the volume label:
- Add support for FS_IOC_GETFSUUID
- Add support for FS_IOC_GETFSSYSFSPATH
- Add support for FS_IOC_GETFSLABEL
- Add support for FS_IOC_SETFSLABEL
- Backport upstream fixes that prevent internal code -ENOENT from propagating to system calls:
- Treat missing sufile header block as metadata corruption
- Treat missing cpfile header block as metadata corruption
- Do not propagate ENOENT error from sufile during recovery
- Do not propagate ENOENT error from sufile during GC
- Do not propagate ENOENT error from nilfs_sufile_mark_dirty()
- Backport upstream fixes for three potential issues with empty b-tree nodes that can occur with corrupted file system images, including one recently discovered by syzbot:
- Fix potential null-ptr-deref in nilfs_btree_insert()
- Determine empty node blocks as corrupted
- Fix potential oob read in nilfs_btree_check_delete()
- Backport a change to suppress nuisance kernel warnings that are output after detecting file system corruption and degrading to a read-only mount:
- Do not output warnings when clearing dirty buffers
- Backport upstream fixes that correct a number of formatting issues in kernel doc comments and suppress warnings output by kernel-doc scripts:
- Add missing argument description for __nilfs_error()
- Add missing argument descriptions for ioctl-related helpers
- Improve kernel-doc comments for b-tree node helpers
- Fix incorrect kernel-doc declaration of nilfs_palloc_req structure
- Add missing description of nilfs_btree_path structure
- Describe the members of nilfs_bmap_operations structure
- Fix inconsistencies in kernel-doc comments in segment.h
- Fix missing initial short descriptions of kernel-doc comments
- Backport assorted cleanups:
- Use common implementation of file type
- Use the BITS_PER_LONG macro
- Separate inode type information from i_state field
- Eliminate the shared counter and spinlock for i_generation
- Do not repair reserved inode bitmap in nilfs_new_inode()
- Remove sc_timer_task
- Use kthread_create and kthread_stop for the log writer thread
- Refactor nilfs_segctor_thread()
- Remove duplicate 'unlikely()' usage