-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exfat next misc #18
base: exfat-next
Are you sure you want to change the base?
Exfat next misc #18
Conversation
s_lock which is for protecting concurrent access of file operations is too huge for cluster bitmap protection, so introduce a new bitmap_lock to narrow the lock range if only need to access cluster bitmap. Signed-off-by: Hyeongseok Kim <[email protected]> Acked-by: Sungjong Seo <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
Add FITRIM ioctl to enable discarding unused blocks while mounted. As current exFAT doesn't have generic ioctl handler, add empty ioctl function first, and add FITRIM handler. Signed-off-by: Hyeongseok Kim <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Acked-by: Sungjong Seo <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Change-Id: I4c630201d043b7a763d9faea2a87ca42aafdb8ec Signed-off-by: Matthieu Castet <[email protected]>
Change-Id: I8db1e9660dcb29f206a4dca396d945504965126f Signed-off-by: Matthieu Castet <[email protected]>
#define FAT_ENT_OFFSET_BYTE_IN_SECTOR(sb, loc) \ | ||
((loc << FAT_ENT_SIZE_BITS) & (sb->s_blocksize - 1)) | ||
(((loc) << FAT_ENT_SIZE_BITS) & (sb->s_blocksize - 1)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no description in patch why you add () in macro.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am doing some patches, to do some optimization.
If I use FAT_ENT_OFFSET_BYTE_IN_SECTOR with an expression, it fails.
I will update the patch.
return false; | ||
return true; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add patch description why this patch is needed. and if you think this patch is needed from exfat in kernel mainline, Can you send the patch to LKML ?
Thanks for your patch. Could you please add prefix in patch ? i.e. "exfat:" and patch description also... |
533d819
to
436aec7
Compare
4b4dc43
to
f104dcf
Compare
Can I help in any way to get this merged? Having FSTRIM support will solve some performance issues for us with exfat on SMR drives. |
No description provided.