Update vdev.c
Update vdev.h
Update vdev.h
Fix some point de-referencing issues
Adjustments to pending after int -> uint64_t change
Adjustments to pending after int -> uint64_t change
Adjustments to pending after int -> uint64_t change
Adjustments to pending after int -> uint64_t change
Merge pull request #1 from b333z/issue-1461-int-fixes

Fix some pointer issues and type changes
Update vdev_mirror.c

removed debug output
Update vdev_mirror.c

Remove debugging output by printk
Update vdev.c

vs->vs_request_time_average >> 16
is wrong (would be 65536 requests) needs to be >> 8 to have the moving average only over 256 samples.
Update vdev.c

Debugging output for vdev_pending_queue
Update vdev.c
Update vdev.c

More debugging: vdev_stat_update
Update vdev.c

more intense debugging to see what ddi_get_lbolt64() returns...
Update vdev.c

only update stats in case zio->io_timestamp >0 so uninitialized timestamps will not lead to huge values for 
(ddi_get_lbolt64() - zio->io_timestamp)
Update vdev.c

Inflate time for a request by one unit so vs_request_time_average>0 which leads to requests in vdev queue will have an impact at vdev_queue_pending
Update vdev.c

it's getting late...
Update vdev.c

Update vs->vs_request_time_average only in case zio->io_timestamp is set, else it is inflated by ddi_get_lbolt64() which is clearly wrong.