Files
nuttx/fs
YAMAMOTO Takashi b59373b270 littlefs_open: sync the file only when O_TRUNC is specified
Because sync is a rather expensive operation.

While I'm here, improve the comment after the recent discussion
in https://github.com/apache/nuttx/pull/2913.

IMHO, we should not perform the sync even for O_TRUNC.
But I'm not going to propose the change for now.

Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>
2025-04-10 14:38:18 +08:00
..
2025-01-14 23:03:20 +08:00
2024-12-10 01:29:00 +08:00
2025-01-15 17:26:07 +08:00
2025-01-15 17:12:50 +08:00
2025-01-15 17:12:50 +08:00