Commit 6251f0b0 authored by Namjae Jeon's avatar Namjae Jeon
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
parent 40796051
Loading
Loading
Loading
Loading
+1065 −1497

File changed.

Preview size limit exceeded, changes collapsed.