diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-12-17 14:51:42 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-12-17 14:51:42 -0500 |
commit | cad321ad529400c6ab24c501a67c3be720a0744c (patch) | |
tree | 7ac2b81a914329b7ac78b4f2a4275d62484ef45e /scripts/basic | |
parent | 87b29b208c6c38f3446d2de6ece946e2459052cf (diff) | |
download | linux-cad321ad529400c6ab24c501a67c3be720a0744c.tar.bz2 |
Btrfs: shift all end_io work to thread pools
bio_end_io for reads without checksumming on and btree writes were
happening without using async thread pools. This means the extent_io.c
code had to use spin_lock_irq and friends on the rb tree locks for
extent state.
There were some irq safe vs unsafe lock inversions between the delallock
lock and the extent state locks. This patch gets rid of them by moving
all end_io code into the thread pools.
To avoid contention and deadlocks between the data end_io processing and the
metadata end_io processing yet another thread pool is added to finish
off metadata writes.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions