https://github.com/torvalds/linux
Revision 52621cb6ed0e0e14358bb317bda7cd5fbd5c2a27 authored by Li Zefan on 20 November 2011, 12:33:38 UTC, committed by Chris Mason on 20 November 2011, 12:42:15 UTC
setup_cluster_no_bitmap() searches all the extents and bitmaps starting
from offset. Therefore if it returns -ENOSPC, all the bitmaps starting
from offset are in the bitmaps list, so it's sufficient to search from
this list in setup_cluser_bitmap().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent 0f0fbf1
History
Tip revision: 52621cb6ed0e0e14358bb317bda7cd5fbd5c2a27 authored by Li Zefan on 20 November 2011, 12:33:38 UTC
Btrfs: avoid unnecessary bitmap search for cluster setup
Tip revision: 52621cb
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.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 196.7 KB
Makefile -rw-r--r-- 52.3 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top