Laczen commented on PR #16642: URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3056224064
> bch_register and ftl_initilize is designed to be called only inside FS layer, and board files shouldn't call these two functions. So @jingfei195887 will provide new patch to remove/replace both call from all board files, and remove the compatibility concern. BTW, flt behavior change is controlled by special oflags(O_DIRECT/O_SYNC) and the behavior is kept as before without these two flags, so the compatibility still keep. @xiaoxiang781216 sometimes there is a need to add a "block converter" between the raw mtd and the ftl layer (e.g. when the raw mtd has a pagesize of 256byte while the fs (fat) needs a block of 512byte). At the moment this can be done by adding `mtd = s512_initialize(mtd);` before calling `ftl_initialize`. Will this still be possible when `ftl_initalize` is called from inside the FS layer? -- 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