mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 06:46:35 +01:00
ntfs: update super block operations
Update the super block operations to support the new fs_context-based mount API, full read-write support including ->sync_fs, and file system shutdown support. Update ntfs_statfs() to provide statistics using atomic counters for free clusters and MFT records. Add a dedicated workqueue to compute the total number of free clusters by scanning asynchronously. Synchronous bitmap scanning during mount can take a very long time on large volumes, severely delaying mount completion. Moving this to the background allows mount to finish almost immediately. Implement ntfs_write_volume_label() to allow changing the volume label. Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Christoph Hellwig <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
This commit is contained in:
1 parent
4079605199
commit
6251f0b0de
1 file changed
+1072
-1504
+1072
-1504
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user