Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Only update LittleFS timestamp when opened write#6956

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
earlephilhower merged 2 commits intoesp8266:masterfromearlephilhower:fixtime
Dec 30, 2019

Conversation

@earlephilhower
Copy link
Collaborator

Fixes#6955

LittleFS was updating the timestamp on any close, not only for files
when they were opened for writing. This could lead to excessive writes
to the flash.

Preserve the LFS flags, and only update the timestamp if the file was
opened for writing.

@earlephilhowerearlephilhower added this to the2.7.0 milestoneDec 28, 2019
Fixesesp8266#6955LittleFS was updating the timestamp on any close, not only for fileswhen they were opened for writing.  This could lead to excessive writesto the flash.Preserve the LFS flags, and only update the timestamp if the file wasopened for writing.
@earlephilhowerearlephilhower merged commitfa5040d intoesp8266:masterDec 30, 2019
@earlephilhowerearlephilhower deleted the fixtime branchDecember 30, 2019 23:43
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.7.0

Development

Successfully merging this pull request may close these issues.

LittleFS timestamp last write is also changed after a file is only read.

1 participant

@earlephilhower

[8]ページ先頭

©2009-2025 Movatter.jp