GFS2: Implement iomap for block_map
authorBob Peterson <rpeterso@redhat.com>
Thu, 16 Feb 2017 15:27:16 +0000 (10:27 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 31 Oct 2017 13:26:33 +0000 (14:26 +0100)
commit3974320ca6aa68d479051f208d5c95afd1e47a4c
tree6ffea2a1d15f260142da64d7fa410baaa93b809b
parent5f8bd4440d94729d1977fba6ca0b4875c2ee1515
GFS2: Implement iomap for block_map

This patch implements iomap for block mapping, and switches the
block_map function to use it under the covers.

The additional IOMAP_F_BOUNDARY iomap flag indicates when iomap has
reached a "metadata boundary" and fetching the next mapping is likely to
incur an additional I/O.  This flag is used for setting the bh buffer
boundary flag.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/bmap.h
fs/gfs2/trace_gfs2.h
include/linux/iomap.h