[SCSI] libfc: update fcp and exch stats
authorVasu Dev <vasu.dev@intel.com>
Fri, 25 May 2012 17:26:54 +0000 (10:26 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:31:48 +0000 (08:31 +0100)
commit4e5fae7adbe4f21538b9e62c0fc9b029bbd606cb
tree99c14af426c0e3f6b38583ac66e7622028d669c6
parent0f02a6652803235a4893c7b01dd6eab862a913ec
[SCSI] libfc: update fcp and exch stats

Updates newly added stats from fc_get_host_stats,
added new function fc_exch_update_stats to
update exches related stats from fc_exch.c
by going thru internal ema_list elements.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Acked-by : Robert Love <robert.w.love@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libfc/fc_exch.c
drivers/scsi/libfc/fc_lport.c
include/scsi/libfc.h