Btrfs: don't lock bits in the extent tree during writepage
authorChris Mason <chris.mason@oracle.com>
Wed, 2 Sep 2009 19:11:07 +0000 (15:11 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Sep 2009 17:31:06 +0000 (13:31 -0400)
commitd5550c6315fe0647b7ac21a6a736bf4a42620eac
treed1aeeee5ef7b04915dd6eb1c220b3e137ce4d9b3
parent2c64c53d8d30d43d0670482503a3914dfd3d6d46
Btrfs: don't lock bits in the extent tree during writepage

At writepage time, we have the page locked and we have the
extent_map entry for this extent pinned in the extent_map tree.
So, the page can't go away and its mapping can't change.

There is no need for the extra extent_state lock bits during writepage.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c