Details

    • Task
    • Resolution: Fixed
    • Major
    • Lustre 2.9.0
    • None
    • Centos 7.2, ZFS 0.6.5-158, lustre-2.58.50-3.10.0_327
    • 9223372036854775807

    Description

      The API for the ZFS dmu_prefetch routine has changed. The new routine has both more parameters and the parameters in a different order.

      Current work around is to append a hack to the ZFS include/sys/dmu.h used for building lustre.

            cat <<DELIM >> include/sys/dmu.h
      #ifndef dmu_prefetch
      #pragma GCC diagnostic push
      #pragma GCC diagnostic warning "-Wunused-function"
      #pragma GCC diagnostic ignored "-Wunused-function"
      static inline void dmu_prefetch_old(objset_t *os, uint64_t object,
          uint64_t offset, uint64_t len) {
        dmu_prefetch(os, object, 0, offset, len, 0); }
      #define dmu_prefetch dmu_prefetch_old
      #pragma GCC diagnostic pop
      #define dmu_prefetch dmu_prefetch_old
      #endif
      DELIM
      
      

      Attachments

        Issue Links

          Activity

            People

              utopiabound Nathaniel Clark
              jemalmbe John Malmberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: