Re: [PATCH 1/6] lpfc 8.1.7 : Adding statistics reset callback for FC transport

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Rolf Eike Beer wrote:
-/* FIX ME */
-	/*hs->SecondsSinceLastReset = (jiffies - lpfc_loadtime) / HZ;*/
+	hs->seconds_since_last_reset = (jiffies - psli->stats_start) / HZ;

Wraparound?

Ok - we should probably calculate it based on gettimeofday(). I'll update
and repost.

+	memset(pmboxq, 0, sizeof (LPFC_MBOXQ_t));
                                ^

No space here.

Will include this too...

-- james
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux