diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2022-11-09 13:30:33 +0300 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2024-03-19 14:56:05 +0300 |
commit | 96cf51acccb64d24339822824c262a1d3744d218 (patch) | |
tree | 8d16f76bbe957c0f99474423d247b2beb07eaca8 /fs/fat | |
parent | 4d714559768911b4738dca521ca38be84a8444b5 (diff) | |
download | linux-96cf51acccb64d24339822824c262a1d3744d218.tar.xz |
exfat: do not sync parent dir if just update timestamp
When sync or dir_sync is enabled, there is no need to sync the
parent directory's inode if only for updating its timestamp.
1. If an unexpected power failure occurs, the timestamp of the
parent directory is not updated to the storage, which has no
impact on the user.
2. The number of writes will be greatly reduced, which can not
only improve performance, but also prolong device life.
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions