linux/fs/gfs2
Bob Peterson 6aa7640f30 GFS2: optimize rbm_from_block wrt bi_start
In function gfs2_rbm_from_block, it starts by checking if the block
falls within the first bitmap. It does so by checking if the rbm's
offset is less than (rbm->bi->bi_start + rbm->bi->bi_len) * GFS2_NBBY.
However, the first bitmap will always have bi_start==0. Therefore
this is an unnecessary calculation in a function that gets called
billions of times. This patch removes the reference to bi_start.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2013-09-17 10:14:39 +01:00
..
acl.c
acl.h
aops.c GFS2: dirty inode correctly in gfs2_write_end 2013-09-05 09:04:24 +01:00
bmap.c truncate: drop 'oldsize' truncate_pagecache() parameter 2013-09-12 15:38:02 -07:00
bmap.h
dentry.c gfs2: use check_submounts_and_drop() 2013-09-05 16:23:51 -04:00
dir.c treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks 2013-08-20 13:06:40 +02:00
dir.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw 2013-07-02 09:41:18 -07:00
export.c [readdir] constify ->actor 2013-06-29 12:57:05 +04:00
file.c GFS2: dirty inode correctly in gfs2_write_end 2013-09-05 09:04:24 +01:00
gfs2.h
glock.c fs: convert fs shrinkers to new scan/count API 2013-09-10 18:56:31 -04:00
glock.h
glops.c GFS2: don't overrun reserved revokes 2013-08-19 09:33:16 +01:00
glops.h
incore.h
inode.c GFS2: d_splice_alias() can't return error 2013-09-17 10:04:07 +01:00
inode.h GFS2: Add atomic_open support 2013-06-14 11:17:15 +01:00
Kconfig
lock_dlm.c
log.c GFS2: aggressively issue revokes in gfs2_log_flush 2013-06-19 09:41:59 +01:00
log.h GFS2: aggressively issue revokes in gfs2_log_flush 2013-06-19 09:41:59 +01:00
lops.c GFS2: Move gfs2_sync_meta to lops.c 2013-08-19 17:26:32 +01:00
lops.h GFS2: Eliminate gfs2_rg_lops 2013-06-05 09:50:40 +01:00
main.c fs: convert fs shrinkers to new scan/count API 2013-09-10 18:56:31 -04:00
Makefile
meta_io.c GFS2: Move gfs2_sync_meta to lops.c 2013-08-19 17:26:32 +01:00
meta_io.h GFS2: Move gfs2_sync_meta to lops.c 2013-08-19 17:26:32 +01:00
ops_fstype.c GFS2: Don't flag consistency error if first mounter is a spectator 2013-09-05 09:03:57 +01:00
quota.c fs: convert fs shrinkers to new scan/count API 2013-09-10 18:56:31 -04:00
quota.h fs: convert fs shrinkers to new scan/count API 2013-09-10 18:56:31 -04:00
recovery.c
recovery.h
rgrp.c GFS2: optimize rbm_from_block wrt bi_start 2013-09-17 10:14:39 +01:00
rgrp.h
super.c
super.h
sys.c
sys.h
trace_gfs2.h
trans.c GFS2: fix warning message 2013-06-19 21:29:19 +01:00
trans.h
util.c
util.h
xattr.c
xattr.h