Josef Bacik 2f120c05e6 Btrfs: only map pages if we know we need them when reading the space cache
People have been running into a warning when loading space cache because the
page is already mapped when trying to read in a bitmap.  The way we read in
entries and pages is kind of convoluted, so fix it so that io_ctl_read_entry
maps the entries if it needs to, and if it hits the end of the page it simply
unmaps the page.  That way we can unconditionally unmap the io_ctl before
reading in the bitmap and we should stop hitting these warnings.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-11-10 20:45:05 -05:00
..
2011-10-20 18:10:41 +02:00
2011-07-26 16:49:47 -07:00
2010-12-22 23:15:47 +08:00
2011-10-20 18:10:50 +02:00
2011-11-10 20:45:05 -05:00
2011-06-17 14:54:18 -04:00
2011-05-28 07:00:39 -04:00