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

   > > one simple method is that smartfs_open cache the path into 
smartfs_ofile_s.
   > 
   > Yes, but can we afford it for smaller microcontrollers with less memory?
   
   But if smartfs can't restore the full path from the leaf node like littlefs, 
the full path has to be record in open callback.
   
   > The maximum path length is 4 KBs if I remember correctly, although yes, 
the entire length won't be used in 99 % cases. But I suppose that's why most of 
the file systems do not store the entire path and iterate backwards to get it.
   
   But in most case, the path is less than 128bytes.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to