Skip to content
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

drivers/bch: Drivers may not support command BIOC_FLUSH #15145

Conversation

JianyuWang0623
Copy link
Contributor

Summary

drivers/bch: Drivers may not support command BIOC_FLUSH.
Calling bchlib_flushsector() maybe enough on some devices.

Impact

  • drivers/bch (e.g. fsync() on bch device may returns failure without this patch)

Testing

  • Selftest with fsync()
  • NuttX CI

Calling `bchlib_flushsector()` maybe enough on some devices.

Signed-off-by: wangjianyu3 <[email protected]>
@github-actions github-actions bot added Area: Drivers Drivers issues Size: XS The size of the change in this PR is very small labels Dec 11, 2024
@JianyuWang0623
Copy link
Contributor Author

@Donny9 @chirping78 Could you review this PR please?

@xiaoxiang781216 xiaoxiang781216 merged commit 5a51d3b into apache:master Dec 11, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Drivers Drivers issues Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants