]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5d06193951325dd484edb1e3370f6cbbdb4b4ed
tree6ffea2a1d15f260142da64d7fa410baaa93b809b
parentea3b9eae87b507f9d28a0a199024b3179987a536
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