new hard disk resume patch ready for upstream submission