Here's my promised refactoring of the patches.
Eduardo Otubo (2):
phyp: add rudimentary storage driver
phyp: add storage management driver
Eric Blake (2):
phyp: reduce scope of driver functions
phyp: optimize use of sed
src/phyp/phyp_driver.c | 3542 +++++++++++++++++++++++++++++++++++-------------
src/phyp/phyp_driver.h | 76 +-
2 files changed, 2621 insertions(+), 997 deletions(-)