diff options
author | Serapheim Dimitropoulos <[email protected]> | 2019-01-18 09:50:16 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-01-18 09:50:16 -0800 |
commit | 8dc2197b7b1e4d7ebc1420ea30e51c6541f1d834 (patch) | |
tree | 90889679fd877ddc795cba1225d26aa64668c337 /module/zfs/rrwlock.c | |
parent | ce5fb2a7c6dfaa0f305350225e064e9f536bd5a4 (diff) |
Simplify spa_sync by breaking it up to smaller functions
The point of this refactoring is to break the high-level conceptual
steps of spa_sync() to their own helper functions. In general large
functions can enhance readability if structured well, but in this
case the amount of conceptual steps taken could use the help of
helper functions.
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Serapheim Dimitropoulos <[email protected]>
Closes #8293
Diffstat (limited to 'module/zfs/rrwlock.c')
0 files changed, 0 insertions, 0 deletions