gfs: Smaller journal reservations in gfs2_iomap_write_alloc

Compute a tighter journal block reservation boundary in
gfs2_iomap_write_alloc() by taking into account that we will not
allocate more than one extent of data blocks in a single transaction.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
2 files changed