Fix stack zio_execute()
authorNed Bass <bass6@llnl.gov>
Thu, 26 Aug 2010 18:38:38 +0000 (11:38 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Aug 2010 15:38:50 +0000 (08:38 -0700)
commitda6b4005c92ce02359aabae6549f1031ad1fe41c
treef6702e0655ab0dece5a98666260dc13ed68f32c5
parentc776b317e44a64d53217d34c3fa61d36fd5a32d5
Fix stack zio_execute()

Implement zio_execute() as a wrapper around the static function
__zio_execute() so that we can force  __zio_execute() to be inlined.
This reduces stack overhead which is important because __zio_execute()
is called recursively in several zio code paths.  zio_execute() itself
cannot be inlined because it is externally visible.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/zio.c