Hello, I noticed that write returns buffsize even in case of error, when the disk is full. It displays an error to Serial though:
E (228407) esp_littlefs: ./managed_components/joltwallet__littlefs/src/littlefs/lfs.c:689:error: No more free space 0x86