https://github.com/torvalds/linux
Revision e6138876ad8327250d77291b3262fee356267211 authored by Josef Bacik on 27 September 2012, 21:07:30 UTC, committed by Chris Mason on 09 October 2012, 13:15:41 UTC
Everytime we write out dirty pages we search for an offset in the tree,
convert the bits in the state, and then when we wait we search for the
offset again and clear the bits.  So for every dirty range in the io tree we
are doing 4 rb searches, which is suboptimal.  With this patch we are only
doing 2 searches for every cycle (modulo weird things happening).  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
1 parent ce19533
History
Tip revision: e6138876ad8327250d77291b3262fee356267211 authored by Josef Bacik on 27 September 2012, 21:07:30 UTC
Btrfs: cache extent state when writing out dirty metadata pages
Tip revision: e613887
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 210.9 KB
Makefile -rw-r--r-- 46.1 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top