Displaying 4 results from an estimated 4 matches for "try_release_extent_buffer".
2010 Jul 13
0
[PATCH 1/2] btrfs: restructure try_release_extent_buffer()
restructure try_release_extent_buffer() and write a function to release the
extent buffer. It will be used later.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
---
fs/btrfs/extent_io.c | 48 +++++++++++++++++++++++++++++++++++++-----------
1 files changed, 37 insertions(+), 11 deletions(-)
diff --git a/fs/btrfs/extent_io....
2012 Jun 18
0
a stacktrace i had on my luks encrypted btrfs partition on kernel 3.4
...ffffa01ec37e 00000000ffffffff
ffff8800bf66e718
[34736.235818] ffffea0001a52130 ffffffffa01ee04d 0100000000000909
ffff880116fffdb0
[34736.235879] Call Trace:
[34736.235928] [<ffffffffa01ec37e>] ?
release_extent_buffer.isra.28+0x5a/0x76 [btrfs]
[34736.235993] [<ffffffffa01ee04d>] ?
try_release_extent_buffer+0x96/0xa1 [btrfs]
[34736.236009] [<ffffffff810c674e>] ? shrink_page_list+0x55b/0x741
[34736.236009] [<ffffffff810faba7>] ? lookup_page_cgroup+0x31/0x3a
[34736.236009] [<ffffffff810cda7e>] ? zone_page_state_add+0x14/0x23
[34736.236009] [<ffffffff810ce298>] ? __mod_zone_pa...
2010 Nov 29
0
[GIT PULL] Btrfs updates for 2.6.37-rc
...links (+1/-0)
Btrfs: fix more ESTALE problems with NFS (+1/-0)
Btrfs: handle NFS lookups properly (+76/-0)
Btrfs: fix fiemap (+54/-9)
Chris Mason (4) commits (+124/-9):
Btrfs: deal with DIO bios that span more than one ordered extent (+89/-4)
Btrfs: avoid NULL pointer deref in try_release_extent_buffer (+4/-2)
Btrfs: don''t use migrate page without CONFIG_MIGRATION (+6/-1)
Btrfs: add migrate page for metadata inode (+25/-2)
Li Zefan (3) commits (+6/-6):
btrfs: Check if dest_offset is block-size aligned before cloning file (+3/-4)
btrfs: Show device attr correctly for syml...
2012 Dec 18
0
[PATCH] [RFC] Btrfs: Subpagesize blocksize (WIP).
..._buffer_page(eb, i);
kaddr = page_address(p);
*map = kaddr + offset;
- *map_len = PAGE_CACHE_SIZE - offset;
+ *map_len = (PAGE_CACHE_SIZE - offset) & (eb->len - 1);
return 0;
}
@@ -4996,6 +5464,7 @@ void memmove_extent_buffer(struct extent_buffer *dst, unsigned long dst_offset,
int try_release_extent_buffer(struct page *page, gfp_t mask)
{
struct extent_buffer *eb;
+ int ret;
/*
* We need to make sure noboody is attaching this page to an eb right
@@ -5010,30 +5479,61 @@ int try_release_extent_buffer(struct page *page, gfp_t mask)
eb = (struct extent_buffer *)page->private;
BUG_ON(!eb)...