statfs 함수를 사용하면 f_bsize 구조체 멤버로 읽는 최소 블록 크기를 설정할 수 있습니다.
static int my_statfs(char const * path, struct statvfs *buf)
{
void *my_data = fuse_get_context()->private_data;
// Get data
secure_zero(buf, sizeof *buf);
/* Must be 1 so that reads and writes aren't broken up into
* larger chunks.*/
buf->f_bsize = 1U;
buf->f_frsize = 0U; /* ignored */
buf->f_blocks = 0U;
buf->f_bfree = 0U;
buf->f_bavail = 0U;
buf->f_files = MY_INODES_MAX;
buf->f_ffree = inodes;
buf->f_favail = 0U; /* ignored */
buf->f_fsid = 0U; /* ignored */
buf->f_flag = 0U; /* ignored */
buf->f_namemax = MY_PATH_MAX;
return 0;
}