]> err.no Git - linux-2.6/commit
[GFS2] Speed up gfs2_write_alloc_required, deprecate gfs2_extent_map
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 28 Jan 2008 08:47:38 +0000 (08:47 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:39:44 +0000 (10:39 +0100)
commit941e6d7d09aaf455c0d7ad383f7f5ae67e4ccf16
treeb6d066178387b9222fa25dfd7ea3555cc8b91621
parenta9edadbf790d72adf6ebed476cb5caf7743e7e4a
[GFS2] Speed up gfs2_write_alloc_required, deprecate gfs2_extent_map

This patch removes the call to gfs2_extent_map from gfs2_write_alloc_required,
instead we call gfs2_block_map directly. This results in fewer overall calls
to gfs2_block_map in the multi-block case.

Also, gfs2_extent_map is marked as deprecated so that people know that its
going away as soon as all the callers have been converted.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c