Skip to content
Snippets Groups Projects
Commit 70dec807 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: extent_io and extent_state optimizations


The end_bio routines are changed to take a pointer to the extent state
struct, and the state tree is walked in order to set/clear appropriate
bits as IO completes.  This greatly reduces the number of rbtree searches
done by the end_bio handlers, and reduces lock contention.

The extent_io releasepage function is changed to avoid expensive searches
for locked state.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent aadfeb6e
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment