xiaoxiang781216 commented on PR #16642:
URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3067926585

   > @michallenc @TimJTi @xiaoxiang781216 I think we are indeed having a 
problem here! The issue is that when the number of bytes we write is less than 
a page size, the write operation does not write to the flash but is cached in 
the bch buffer. This buffer is supposed to be flushed during close(fd), 
however, the process of close(fd) does not call bch_close. I believe this is 
exactly where the problem lies.
   
   but close(fd) should call bch_close.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to