]> 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)
commit4a956d2319641f2163381bd443f9f56819edf3a9
treedc5478189be0f6a321bfc23ee0545f71de67763b
parent2786702ba0d00429d9f2850e0687fe1d21c27b52
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