https://github.com/torvalds/linux
Revision a3429ab70b04363c6190964e82f04f44f3e34cf0 authored by Chris Mason on 08 October 2009, 16:30:20 UTC, committed by Chris Mason on 08 October 2009, 19:11:50 UTC
When compression is on, the cow_file_range code is farmed off to
worker threads.  This allows us to do significant CPU work in parallel
on SMP machines.

But it is a delicate balance around when we clear flags and how.  In
the past we cleared the delalloc flag immediately, which was safe
because the pages stayed locked.

But this is causing problems with the newest ENOSPC code, and with the
recent extent state cleanups we can now clear the delalloc bit at the
same time the uncompressed code does.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent a791e35
History
Tip revision: a3429ab70b04363c6190964e82f04f44f3e34cf0 authored by Chris Mason on 08 October 2009, 16:30:20 UTC
Btrfs: delay clearing EXTENT_DELALLOC for compressed extents
Tip revision: a3429ab
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-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 148.6 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top