khenriks / mp3fs

FUSE-based transcoding filesystem from FLAC to MP3
http://khenriks.github.io/mp3fs/
GNU General Public License v3.0
382 stars 46 forks source link

Fix non-512 block size issue. #48

Closed Red54 closed 6 years ago

khenriks commented 6 years ago

The documentation for stat explicitly says that st_blocks is with 512 byte blocks, and it appears that this is independent from st_blksize, which indicates 'the "preferred" block size for efficient filesystem I/O.' I think the current implementation is correct.