Whamcloud - gitweb
LU-7863 osd-zfs: dmu_prefetch change in ZFS master 93/19293/8
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Thu, 31 Mar 2016 15:12:38 +0000 (11:12 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 6 Aug 2016 06:24:16 +0000 (06:24 +0000)
commit349c2be0e608c9afe85253192a4c1450306e9629
tree6175b6bba0e4cc011787e0531458aa81c17029e3
parent3973c51b0ba246fb9904235206e6b9269d670a51
LU-7863 osd-zfs: dmu_prefetch change in ZFS master

In ZFS master (post zfs-0.6.5-release) dmu_prefetch now has 6
arguments instead of 4.  This accounts for the new style dmu_prefetch,
while keeping backward compatibility (back to 0.6.2 which initially
exported dmu_prefetch).

Convert old behavior of SYNC_READ for prefetch to ASYNC_READ as a
better prefetch behavior.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Ia06e5605b06ef1f51817418183e479d591231e5a
Reviewed-on: http://review.whamcloud.com/19293
Tested-by: Jenkins
Reviewed-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
config/lustre-build-zfs.m4
lustre/osd-zfs/osd_index.c
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_oi.c