]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: stop using highmem for extent_buffers
authorChris Mason <chris.mason@oracle.com>
Tue, 19 Jul 2011 16:04:14 +0000 (12:04 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 27 Jul 2011 16:46:45 +0000 (12:46 -0400)
commite72d6fe5a04ea1a3d92a3a2f5fb316902c128a01
treedc5478189be0f6a321bfc23ee0545f71de67763b
parent179e69556b5bb055d461e21cf3318cb576ce64da
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