Btrfs: stop using highmem for extent_buffers
commita65917156e345946dbde3d7effd28124c6d6a8c2
authorChris Mason <chris.mason@oracle.com>
Tue, 19 Jul 2011 16:04:14 +0000 (19 12:04 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 27 Jul 2011 16:46:45 +0000 (27 12:46 -0400)
treedc5478189be0f6a321bfc23ee0545f71de67763b
parent199c36eaa95077a47ae1bc55532fc0fbeb80cc95
Btrfs: stop using highmem for extent_buffers

The extent_buffers have a very complex interface where
we use HIGHMEM for metadata and try to cache a kmap mapping
to access the memory.

The next commit adds reader/writer locks, and concurrent use
of this kmap cache would make it even more complex.

This commit drops the ability to use HIGHMEM with extent buffers,
and rips out all of the related code.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/file-item.c
fs/btrfs/inode.c
fs/btrfs/struct-funcs.c