X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-solaris.h;h=8f8f53b621c7de8fab15fc738e7591d35d3172fa;hb=107ad00817e448d5bf8949ca7d3796b7f22d327c;hp=5b78cc2cc43cb384fb8d5e6e1f952bd6f618c1b6;hpb=96ed30cee2c29a61a7c45ab56335ff23d70e377d;p=fio.git diff --git a/os/os-solaris.h b/os/os-solaris.h index 5b78cc2c..8f8f53b6 100644 --- a/os/os-solaris.h +++ b/os/os-solaris.h @@ -16,7 +16,6 @@ #include "../file.h" #define FIO_HAVE_CPU_AFFINITY -#define FIO_HAVE_PSHARED_MUTEX #define FIO_HAVE_CHARDEV_SIZE #define FIO_USE_GENERIC_BDEV_SIZE #define FIO_USE_GENERIC_INIT_RANDOM_STATE @@ -61,7 +60,7 @@ static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) static inline int blockdev_invalidate_cache(struct fio_file *f) { - return 0; + return ENOTSUP; } static inline unsigned long long os_phys_mem(void)