1 Jun 2008 21:04
btrfs-bdi.patch
Jan Engelhardt <jengelh <at> medozas.de>
2008-06-01 19:04:57 GMT
2008-06-01 19:04:57 GMT
This one has not been applied for btrfs 0.15 yet.
---
btrfs/disk-io.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: btrfs-0.14/btrfs/disk-io.c
===================================================================
--- btrfs-0.14.orig/btrfs/disk-io.c
+++ btrfs-0.14/btrfs/disk-io.c
<at> <at> -968,7 +968,7 <at> <at> void btrfs_unplug_io_fn(struct backing_d
static int setup_bdi(struct btrfs_fs_info *info, struct backing_dev_info *bdi)
{
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23)
bdi_init(bdi);
#endif
bdi->ra_pages = default_backing_dev_info.ra_pages;
<at> <at> -1349,7 +1349,7 <at> <at> fail:
kfree(extent_root);
kfree(tree_root);
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23)
bdi_destroy(&fs_info->bdi);
#endif
kfree(fs_info);
<at> <at> -1608,7 +1608,7 <at> <at> int close_ctree(struct btrfs_root *root)
(Continue reading)
Here is a summary of the panic:
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
device fsid 814e6131acbfcbec-7a2a40df880929bb devid 1 transid 495 /dev/sdb1
BUG: soft lockup - CPU#1 stuck for 61s! [fs_mark:4572]
CPU 1:
Modules linked in: btrfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat
bridge bnep rfcomm l2cap bluetooth ib_iser rdma_cm ib_cm iw_cm ib_sa
ib_mad ib_core ib_addr iscsi_tcp libiscsi scsi_transport_iscsi fuse
sunrpc ipt_REJECT nf_conntrack_ipv4 iptable_filter ip_tables ip6t_REJECT
xt_tcpudp nf_conntrack_ipv6 xt_state nf_conntrack ip6table_filter
ip6_tables x_tables ipv6 dm_mirror dm_multipath dm_mod kvm_intel kvm
snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq
snd_seq_device snd_pcm_oss iTCO_wdt snd_mixer_oss iTCO_vendor_support
nvidia(P) pata_acpi button ata_piix snd_pcm ppdev firewire_ohci i2c_i801
ata_generic firewire_core pcspkr dcdbas snd_timer sr_mod cdrom
snd_page_alloc snd_hwdep snd tg3 serio_raw i2c_core shpchp crc_itu_t sg
parport_pc soundcore parport floppy ahci libata sd_mod scsi_mod ext3 jbd
mbcache uhci_hcd ohci_hcd ehci_hcd [last unloaded: freq_table]
Pid: 4572, comm: fs_mark Tainted: P 2.6.25.3-18.fc9.x86_64 #1
RIP: 0010:[<ffffffff81132929>] [<ffffffff81132929>]
__write_lock_failed+0x9/0x20
RSP: 0018:ffff81000c529e60 EFLAGS: 00000206
RAX: ffff810015c0e000 RBX: ffff81000c529e68 RCX: 0000000000000016
RSS Feed