Displaying 14 results from an estimated 14 matches for "find_or_create_page".
2004 Mar 30
1
OCFS install trouble w/ new kernel - unresolved symbols
...2.4.21-9.EL.noaffine2BOOT).
I installed the kernel and re-installed OCFS. Though I tried the OCFS
RPMs, building OCFS from the source RPMs, and compiling from source code,
doing a ?load_ocfs? gets me a mismatched kernel messages, followd by a
long list of unresolved symbols.
(proc_mkdir_Rab0b93e0, find_or_create_page, etc). I?ve tried using
ocfs-2.4.21-EL-1.0.10-1.i686.rpm, ocfs-2.4.21-EL-1.0.11-1.i686.rpm,
ocfs-2.4.21-EL-1.0.9-12.src.rpm, and ocfs-1.0.10.tar.gz.tar.
Any suggestions/ideas?
Many thanks,
Benjamin Wood
General Dynamics
2007 Feb 05
1
kernel error -- system crash
...ng to ssh but still responded to ping. The logs
showed this error: (its long)
Feb 4 00:08:08 server1 kernel: gdmgreeter: page allocation failure.
order:0, mode:0x50
Feb 4 00:08:08 server1 kernel: [<c014f863>] __alloc_pages+0x28b/0x29d
Feb 4 00:08:08 server1 kernel: [<c014b70f>] find_or_create_page+0x39/0x72
Feb 4 00:08:08 server1 kernel: [<c016eda7>] grow_dev_page+0x2a/0x1eb
Feb 4 00:08:08 server1 kernel: [<c016f096>] __getblk_slow+0x12e/0x159
Feb 4 00:08:08 server1 kernel: [<c016f40e>] __getblk+0x3f/0x49
Feb 4 00:08:08 server1 kernel: [<c016f455>] __bread+0x9...
2018 Dec 12
5
CentOS 7.6 external USB dmesg issue
..._bh+0x10/0x20
[ 1085.193808] [<ffffffffc1bd8424>]
ext4_read_block_bitmap_nowait+0x4c4/0x640 [ext4]
[ 1085.193828] [<ffffffffc1c16641>] ext4_mb_init_cache+0x181/0x6e0 [ext4]
[ 1085.193834] [<ffffffffa95c5afe>] ? lru_cache_add+0xe/0x10
[ 1085.193840] [<ffffffffa95b74de>] ? find_or_create_page+0x5e/0xa0
[ 1085.193858] [<ffffffffc1c16cc6>] ext4_mb_init_group+0x126/0x230 [ext4]
[ 1085.193874] [<ffffffffc1c16f54>] ext4_mb_good_group+0x184/0x1a0 [ext4]
[ 1085.193889] [<ffffffffc1c19735>] ext4_mb_regular_allocator+0x1c5/0x470
[ext4]
[ 1085.193906] [<ffffffffc1c12d0c&g...
2011 Jul 08
5
btrfs hang in flush-btrfs-5
...1/0x81
Jul 8 11:49:40 xback2 kernel: [74920.681032] [<ffffffff810d89cd>]
add_to_page_cache_locked+0x56/0x118
Jul 8 11:49:40 xback2 kernel: [74920.681032] [<ffffffff810d8ab9>]
add_to_page_cache_lru+0x2a/0x58
Jul 8 11:49:40 xback2 kernel: [74920.681032] [<ffffffff810d8d61>]
find_or_create_page+0x5a/0x8a
Jul 8 11:49:40 xback2 kernel: [74920.681032] [<ffffffffa0423620>]
prepare_pages+0xd3/0x2e7 [btrfs]
Jul 8 11:49:40 xback2 kernel: [74920.681032] [<ffffffffa040aad7>] ?
btrfs_delalloc_reserve_metadata+0xf9/0x128 [btrfs]
Jul 8 11:49:40 xback2 kernel: [74920.681032] [<f...
2009 Feb 16
0
warn_slowpath in clean_tree_block
...el: [<ffffffff80251d9e>] __alloc_pages_internal+0xd2/0x3ec
Feb 16 09:02:17 vlad kernel: [<ffffffff8024d55d>] add_to_page_cache_locked+0x52/0x9e
Feb 16 09:02:17 vlad kernel: [<ffffffff8024d5e9>] add_to_page_cache_lru+0x40/0x58
Feb 16 09:02:17 vlad kernel: [<ffffffff8024dbd0>] find_or_create_page+0x62/0x88
Feb 16 09:02:17 vlad kernel: [<ffffffff80313244>] rb_insert_color+0xba/0xe2
Feb 16 09:02:17 vlad kernel: [<ffffffffa03f992a>] alloc_extent_buffer+0x268/0x2ec [btrfs]
Feb 16 09:02:17 vlad kernel: [<ffffffffa03e1b18>] clean_tree_block+0x9d/0xbb [btrfs]
Feb 16 09:02:17 vlad...
2013 Oct 25
1
[PATCH] Btrfs: stop using vfs_read in send
...if (offset > i_size_read(inode))
+ len = 0;
+ else
+ len = offset - i_size_read(inode);
+ }
+ if (len == 0)
+ goto out;
+
+ last_index = (offset + len - 1) >> PAGE_CACHE_SHIFT;
+ while (index <= last_index) {
+ unsigned cur_len = min_t(unsigned, len, PAGE_CACHE_SIZE);
+
+ page = find_or_create_page(inode->i_mapping, index, GFP_NOFS);
+ if (!page) {
+ ret = -ENOMEM;
+ break;
+ }
+
+ if (!PageUptodate(page)) {
+ btrfs_readpage(NULL, page);
+ lock_page(page);
+ if (!PageUptodate(page)) {
+ unlock_page(page);
+ page_cache_release(page);
+ ret = -EIO;
+ break;
+ }
+...
2003 Jan 14
2
2.4.21-pre3 - problems with ext3
...te_device+102/240>
Trace; c0158af4 <invalidate_device+1b4/240>
Trace; c0137323 <kmem_find_general_cachep+1583/24b0>
Trace; c0137386 <kmem_find_general_cachep+15e6/24b0>
Trace; c01382d2 <_alloc_pages+82/210>
Trace; c0138564 <__alloc_pages+104/1a0>
Trace; c012f9b6 <find_or_create_page+86/110>
Trace; f88b44dc <[jbd]__jbd_kmalloc+2c/c0>
Trace; f88c2c75 <[ext3]ext3_block_truncate_page+85/490>
Trace; f88ab55b <[jbd]new_handle+4b/70>
Trace; f88ab625 <[jbd]journal_start+a5/c0>
Trace; f88c0b44 <[ext3]start_transaction+94/a0>
Trace; f88c3858 <[ext3]ex...
2006 Sep 21
1
Page allocation failure and slow system
...eve
=======
Sep 20 13:34:33 hagar kernel: metacity: page allocation failure.
order:0, mode:0x50
Sep 20 13:34:33 hagar kernel: [<c0144257>] __alloc_pages+0x28b/0x29d
Sep 20 13:34:33 hagar kernel: [<c01408da>] find_lock_page+0x96/0x9d
Sep 20 13:34:33 hagar kernel: [<c014091a>] find_or_create_page
+0x39/0x72
Sep 20 13:34:33 hagar kernel: [<c015cde3>] grow_dev_page+0x26/0x102
Sep 20 13:34:33 hagar kernel: [<c015cf8e>] __getblk_slow+0xcf/0xf3
Sep 20 13:34:33 hagar kernel: [<c015d285>] __getblk+0x3f/0x49
Sep 20 13:34:33 hagar kernel: [<c015d2ca>] __bread+0x9/0x1e
Sep...
2013 Oct 09
2
[PATCH] Btrfs: add tests for find_lock_delalloc_range
...tmp, &inode->i_data);
+
+ /*
+ * First go through and create and mark all of our pages dirty, we pin
+ * everything to make sure our pages don''t get evicted and screw up our
+ * test.
+ */
+ for (index = 0; index < (total_dirty >> PAGE_CACHE_SHIFT); index++) {
+ page = find_or_create_page(inode->i_mapping, index, GFP_NOFS);
+ if (!page) {
+ test_msg("Failed to allocate test page\n");
+ ret = -ENOMEM;
+ goto out;
+ }
+ SetPageDirty(page);
+ if (index) {
+ unlock_page(page);
+ } else {
+ page_cache_get(page);
+ locked_page = page;
+ }
+ }
+
+ /* Test thi...
2009 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...}
@@ -1492,6 +1597,9 @@ static int ocfs2_write_begin_inline(struct address_space *mapping,
handle_t *handle;
struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data;
+ mlog_entry("(0x%p, %llu, 0x%p)\n",
+ mapping, OCFS2_I(inode)->ip_blkno, wc);
+
page = find_or_create_page(mapping, 0, GFP_NOFS);
if (!page) {
ret = -ENOMEM;
@@ -1527,14 +1635,15 @@ static int ocfs2_write_begin_inline(struct address_space *mapping,
if (!PageUptodate(page)) {
ret = ocfs2_read_inline_data(inode, page, wc->w_di_bh);
if (ret) {
+ mlog_errno(ret);
ocfs2_commit_trans(osb...
2009 Jul 21
1
(no subject)
...,9 @@ static int ocfs2_write_begin_inline(struct address_space *mapping,
handle_t *handle;
struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data;
+ mlog_entry("(0x%p, %llu, 0x%p)\n",
+ mapping, (unsigned long long)OCFS2_I(inode)->ip_blkno, wc);
+
page = find_or_create_page(mapping, 0, GFP_NOFS);
if (!page) {
ret = -ENOMEM;
@@ -1527,14 +1643,15 @@ static int ocfs2_write_begin_inline(struct address_space *mapping,
if (!PageUptodate(page)) {
ret = ocfs2_read_inline_data(inode, page, wc->w_di_bh);
if (ret) {
+ mlog_errno(ret);
ocfs2_commit_trans(osb...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...,9 @@ static int ocfs2_write_begin_inline(struct address_space *mapping,
handle_t *handle;
struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data;
+ mlog_entry("(0x%p, %llu, 0x%p)\n",
+ mapping, (unsigned long long)OCFS2_I(inode)->ip_blkno, wc);
+
page = find_or_create_page(mapping, 0, GFP_NOFS);
if (!page) {
ret = -ENOMEM;
@@ -1527,14 +1643,15 @@ static int ocfs2_write_begin_inline(struct address_space *mapping,
if (!PageUptodate(page)) {
ret = ocfs2_read_inline_data(inode, page, wc->w_di_bh);
if (ret) {
+ mlog_errno(ret);
ocfs2_commit_trans(osb...
2012 Dec 18
0
[PATCH] [RFC] Btrfs: Subpagesize blocksize (WIP).
...s);
+ if (eb_cur && atomic_inc_not_zero(&eb_cur->refs)) {
+ rcu_read_unlock();
+ mark_extent_buffer_accessed(eb_cur);
+ return eb_cur;
+ }
+ rcu_read_unlock();
+
+ /* Find the page in the mapping. */
+ index = start >> PAGE_CACHE_SHIFT;
+ mapping = tree->mapping;
+ page = find_or_create_page(mapping, index, GFP_NOFS);
+ if (!page) {
+ WARN_ON(1);
+ return NULL;
+ }
+
+ /* Allocate each extent buffer for the page. */
+ eb_head = __alloc_extent_buffers(tree, page, GFP_NOFS);
+ if (!eb_head) {
+ WARN_ON(1);
+ return NULL;
+ }
+
+ /* See if extent buffers have already been allocated fo...
2011 Jul 21
10
[PATCH v5 0/8] Btrfs scrub: print path to corrupted files and trigger nodatasum fixup
While testing raid-auto-repair patches I''m going to send out later, I just found
the very last bug in my current scrub patch series:
Changelog v4->v5:
- fixed a deadlock when fixup is taking longer while scrub is about to end
Original message follows:
------------------------
This patch set introduces two new features for scrub. They share the backref
iteration code which is the