X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fintegrity.c;h=e6528f1ec6e144390598a89cd1d0117e003e7778;hb=15d44e787e17ff57fc1fb5a6c9ae568cdaab6e34;hp=1d15cd59a667ac0f925569693963a5fe6bb86dde;hpb=98ceaf854bb4738305769c5cd1df556ee99aa859;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/integrity.c b/lustre/obdclass/integrity.c index 1d15cd5..e6528f1 100644 --- a/lustre/obdclass/integrity.c +++ b/lustre/obdclass/integrity.c @@ -230,7 +230,7 @@ static void obd_t10_performance_test(const char *obd_name, for (start = jiffies, end = start + cfs_time_seconds(1) / 4, bcount = 0; time_before(jiffies, end) && rc == 0; bcount++) { rc = __obd_t10_performance_test(obd_name, cksum_type, page, - buf_len / PAGE_SIZE); + buf_len >> PAGE_SHIFT); if (rc) break; }