fix space reservations underneath xfs_bmapi_write

Christoph Hellwig
2017-04-13T08:05:26Z

This series fixes the way xfs_bmapi_write deals with space reservations,
and as result gets rid of the low space allocator mode which could lead
to file system shutdowns due to ignoring the AG space allocation
constraints.