search for: __btrfs_map_block

Displaying 10 results from an estimated 10 matches for "__btrfs_map_block".

2010 Jan 04
0
[RFC 03/12 RESEND PATCH] Btrfs: Reorder __btrfs_map_block to make code more efficient.
...fs/btrfs/volumes.c | 65 +++++++++++++++++++-------------------------------- 1 files changed, 24 insertions(+), 41 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 5af76fc..e6599ef 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -2625,26 +2625,12 @@ static int __btrfs_map_block(struct btrfs_mapping_tree *map_tree, int rw, u64 offset; u64 stripe_offset; u64 stripe_nr; - int stripes_allocated = 8; - int stripes_required = 1; int stripe_index; int i; int num_stripes; - int max_errors = 0; + int max_errors; struct btrfs_multi_bio *multi = NULL; - if (multi_ret...
2012 May 07
0
[PATCH V2] btrfs: fix message printing
..., flags, holder); if (IS_ERR(bdev)) { - printk(KERN_INFO "open %s failed\n", device->name); + printk(KERN_INFO "btrfs: open %s failed\n", device->name); goto error; } filemap_write_and_wait(bdev->bd_inode->i_mapping); @@ -3719,7 +3719,7 @@ static int __btrfs_map_block(struct btrfs_mapping_tree *map_tree, int rw, read_unlock(&em_tree->lock); if (!em) { - printk(KERN_CRIT "unable to find logical %llu len %llu\n", + printk(KERN_CRIT "btrfs: unable to find logical %llu len %llu\n", (unsigned long long)logical, (...
2008 Aug 02
3
crash when mounting
...kernel: Code: 7d 1c 00 0f 95 45 93 84 c0 74 27 31 c0 80 7d 93 00 0f 85 0c 04 00 00 8b 55 10 ff 72 04 ff 32 57 56 68 73 9e dc e0 e8 38 91 86 df <0f> 0b 83 c4 14 eb fe 8b 4d ac 8b 51 10 8b 41 0c 39 fa 77 23 72 Message from syslogd@btrfs at Aug 3 05:09:33 ... kernel: EIP: [<e0dc59a6>] __btrfs_map_block+0xe1/0x4e1 [btrfs] SS:ESP 0068:dc539bd0 ls / bin boot dev etc home lib lost+found media mnt opt proc root sbin selinux srv sys tmp usr -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More major...
2008 Apr 30
1
btrfs v0.14: kernel BUG at /home/trey/btrfs-0.14/volumes.c:1453
...libata scsi_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse Apr 30 14:25:46 btrfs kernel: [ 693.417089] Pid: 4433, comm: mount Not tainted 2.6.24-16-server #1 Apr 30 14:25:46 btrfs kernel: [ 693.417140] RIP: 0010:[<ffffffff882e70f1>] [<ffffffff882e70f1>] :btrfs:__btrfs_map_block +0x251/0x460 Apr 30 14:25:46 btrfs kernel: [ 693.417259] RSP: 0018:ffff81007b0e58c8 EFLAGS: 00010296 Apr 30 14:25:46 btrfs kernel: [ 693.417308] RAX: 0000000000000032 RBX: ffff81007b0e5978 RCX: 0000000000000001 Apr 30 14:25:46 btrfs kernel: [ 693.417361] RDX: ffffffff8058ee68 RSI: 00000000000000...
2009 Sep 24
6
[patch 1/2] grub-0.97: btrfs support for a singe device configuration
2012 Jan 11
12
[PATCH 00/11] Btrfs: some patches for 3.3
The biggest one is a fix for fstrim, and there''s a fix for on-disk free space cache. Others are small fixes and cleanups. The last three have been sent weeks ago. The patchset is also available in this repo: git://repo.or.cz/linux-btrfs-devel.git for-chris Note there''s a small confict with Al Viro''s vfs changes. Li Zefan (11): Btrfs: add pinned extents to
2010 Mar 02
3
2.6.33 high cpu usage
With the ATI bug I was hitting earlier fixed, only my btrfs partition continues to show high cpu usage for some operations. Rsync, git pull, git checkout and svn up are typicall operations which trigger the high cpu usage. As an example, this perf report is from using git checkout to change to a new branch; the change needed to checkout 208 files out of about 1600 total files. du(1) reports
2013 Aug 22
23
Question: How can I recover this partition? (unable to find logical $hugenum len 4096)
..._transport_spi uhci_hcd ehci_hcd ata_piix virtio_pci usbcore usb_common libata scsi_mod intel_agp intel_gtt agpgart floppy button [ 45.915599] Pid: 510, comm: mount Not tainted 3.9.8-1-ARCH #1 Bochs Bochs [ 45.915701] EIP: 0060:[<f9d0f4fe>] EFLAGS: 00010282 CPU: 3 [ 45.915805] EIP is at __btrfs_map_block+0x13de/0x13f0 [btrfs] [ 45.915936] EAX: 00000034 EBX: f6d8f0cc ECX: 00000000 EDX: f57ff9a0 [ 45.916033] ESI: 00000000 EDI: 0000019e EBP: f6fb9bc4 ESP: f6fb9afc [ 45.916129] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 45.916217] CR0: 8005003b CR2: b7717ce0 CR3: 3413c000 CR4: 000006d0 [...
2012 Dec 13
22
[PATCH] Btrfs: fix a deadlock on chunk mutex
An user reported that he has hit an annoying deadlock while playing with ceph based on btrfs. Current updating device tree requires space from METADATA chunk, so we -may- need to do a recursive chunk allocation when adding/updating dev extent, that is where the deadlock comes from. If we use SYSTEM metadata to update device tree, we can avoid the recursive stuff. Reported-by: Jim Schutt
2012 Mar 20
13
[PATCH 0 of 3 v2] PV-GRUB: add support for ext4 and btrfs
Hi, The following patches add support for ext4 and btrfs to PV-GRUB. These patches are taken nearly verbatim from those provided by Fedora and Gentoo. We''ve been using these patches for the PV-GRUB images available in EC2 for some time now with no problems. Changes from v1: - Makefile has been changed to check the exit code from patch - The btrfs patch has been rebased to apply