Merge the latest trunk changes into the statvfs branch. FossilOrigin-Name: d5e36327c12f264429eb079bddbb71a310f76389