]> git.baikalelectronics.ru Git - kernel.git/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)
commitec5a227c0e51cb691f74d8ff8bc24bd5daed6e22
treeb6d066178387b9222fa25dfd7ea3555cc8b91621
parent9d4736f77b8731d679186711ca105288843d75bd
[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