Hi,
the new mariadb 10.1 introduced some features, which are apparently not
compatible with zfs, at least with compressed zfs I use.

The log says:

InnoDB: Note: File system for file phpbb_sessions.ibd has file block
size 131072 not supported for page_size 16384
InnoDB: Note: Using file block size 8192 for file phpbb_sessions.ibd

The related code in mariadb looks like:

    struct statvfs  fstat;
    int        err;

    err = fstatvfs(file, &fstat);

    if (err != 0) {
        fprintf(stderr, "InnoDB: Warning: fstatvfs() failed on file
%s\n", name);
        os_file_handle_error_no_exit(name, "fstatvfs()", FALSE,
__FILE__, __LINE__);
    } else {
        fblock_size = fstat.f_bsize;
    }


Question: is there a reliable way to find out device's sector size?


cheers,
Serge
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to