original_kernel/fs/btrfs
Chris Mason 1d9e2ae949 Btrfs: Clear the device->running_pending flag before bailing on congestion
Btrfs maintains a queue of async bio submissions so the checksumming
threads don't have to wait on get_request_wait.  In order to avoid
extra wakeups, this code has a running_pending flag that is used
to tell new submissions they don't need to wake the thread.

When the threads notice congestion on a single device, they
may decide to requeue the job and move on to other devices.  This
makes sure the running_pending flag is cleared before the
job is requeued.

It should help avoid IO stalls by making sure the task is woken up
when new submissions come in.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-01-16 11:58:19 -05:00
..
Makefile
acl.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
async-thread.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
async-thread.h
btrfs_inode.h
compat.h Btrfs: drop remaining LINUX_KERNEL_VERSION checks and compat code 2009-01-06 09:38:55 -05:00
compression.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
compression.h
crc32c.h Btrfs: Drop the hardware crc32c asm code 2009-01-07 19:56:59 -05:00
ctree.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
ctree.h Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
dir-item.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
disk-io.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
disk-io.h
export.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
export.h
extent-tree.c Btrfs: tree logging checksum fixes 2009-01-06 11:42:00 -05:00
extent_io.c Btrfs: drop EXPORT symbols from extent_io.c 2009-01-05 22:05:48 -05:00
extent_io.h
extent_map.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
extent_map.h
file-item.c Btrfs: tree logging checksum fixes 2009-01-06 11:42:00 -05:00
file.c Btrfs: don't change file extent's ram_bytes in btrfs_drop_extents 2009-01-06 09:58:02 -05:00
free-space-cache.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
hash.h
inode-item.c
inode-map.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
inode.c Btrfs: kmap_atomic(KM_USER0) is safe for btrfs_readpage_end_io_hook 2009-01-07 09:48:51 -05:00
ioctl.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
ioctl.h
locking.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
locking.h
ordered-data.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
ordered-data.h
orphan.c
print-tree.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
print-tree.h
ref-cache.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
ref-cache.h
root-tree.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
struct-funcs.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
super.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
sysfs.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
transaction.c Btrfs: Use btrfs_join_transaction to avoid deadlocks during snapshot creation 2009-01-06 09:58:06 -05:00
transaction.h Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
tree-defrag.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
tree-log.c Btrfs: explicitly mark the tree log root for writeback 2009-01-09 13:14:17 -05:00
tree-log.h
version.h
version.sh
volumes.c Btrfs: Clear the device->running_pending flag before bailing on congestion 2009-01-16 11:58:19 -05:00
volumes.h
xattr.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00
xattr.h
zlib.c Btrfs: Fix checkpatch.pl warnings 2009-01-05 21:25:51 -05:00