[PATCH] Sync and invalidate cache prior to running verify

Make sure we re-read the contents from disk, not from memory.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/os-solaris.h b/os-solaris.h
index e7f4e4e..898da18 100644
--- a/os-solaris.h
+++ b/os-solaris.h
@@ -19,7 +19,12 @@
  */
 static inline int blockdev_size(int fd, unsigned long long *bytes)
 {
-	return 1;
+	return EINVAL;
+}
+
+static inline int blockdev_invalidate_cache(int fd)
+{
+	return EINVAL;
 }
 
 static inline unsigned long long os_phys_mem(void)