search for: cpu_key

Displaying 4 results from an estimated 4 matches for "cpu_key".

Did you mean: ca_key
2012 Jun 21
0
[RFC PATCH V2] Btrfs: introduce extent buffer cache for each i-node
.../* - * Given a key and some data, insert items into the tree. - * This does all the path init required, making room in the tree if needed. - */ -int btrfs_insert_empty_items(struct btrfs_trans_handle *trans, - struct btrfs_root *root, - struct btrfs_path *path, - struct btrfs_key *cpu_key, u32 *data_size, - int nr) +static int __btrfs_insert_empty_items(struct btrfs_trans_handle *trans, + struct btrfs_root *root, + struct inode *inode, + struct btrfs_path *path, + struct btrfs_key *cpu_key, u32 *data_size, + int nr) { int ret = 0...
2011 Jan 28
0
[PATCH] ctree code cleanups
...gt;slots[1] == 0) + fixup_low_keys(trans, root, path, &disk_key, 1); - if (wret) - ret = wret; - } } btrfs_mark_buffer_dirty(right); return ret; @@ -3662,7 +3636,7 @@ int btrfs_insert_some_items(struct btrfs_trans_handle *trans, ret = 0; if (slot == 0) { btrfs_cpu_key_to_disk(&disk_key, cpu_key); - ret = fixup_low_keys(trans, root, path, &disk_key, 1); + fixup_low_keys(trans, root, path, &disk_key, 1); } if (btrfs_leaf_free_space(root, leaf) < 0) { @@ -3770,7 +3744,7 @@ setup_items_for_insert(struct btrfs_trans_handle *trans, if (slot ==...
2011 Mar 23
0
[PATCH] Btrfs: cleanup some BUG_ON()
...0000 +0900 +++ linux-2.6.38.new/fs/btrfs/ctree.c 2011-03-23 11:28:09.000000000 +0900 @@ -3840,7 +3840,8 @@ int btrfs_insert_item(struct btrfs_trans unsigned long ptr; path = btrfs_alloc_path(); - BUG_ON(!path); + if (!path) + return -ENOMEM; ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); if (!ret) { leaf = path->nodes[0]; diff -urNp linux-2.6.38/fs/btrfs/disk-io.c linux-2.6.38.new/fs/btrfs/disk-io.c --- linux-2.6.38/fs/btrfs/disk-io.c 2011-03-15 10:20:32.000000000 +0900 +++ linux-2.6.38.new/fs/btrfs/disk-io.c 2011-03-23 11:44:39.000000000 +0900 @@ -1160,7 +1160...
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them