search for: btrfs_read_sys_array

Displaying 5 results from an estimated 5 matches for "btrfs_read_sys_array".

2009 Nov 14
2
[PATCH] btrfs-progs: Check mount status of multidevice filesystems
...t *root, struct extent_buffer *buf, int check_mount) { struct btrfs_dev_item *dev_item; dev_item = (struct btrfs_dev_item *)offsetof(struct btrfs_super_block, dev_item); - return read_one_dev(root, buf, dev_item); + return read_one_dev(root, buf, dev_item, check_mount); } int btrfs_read_sys_array(struct btrfs_root *root) @@ -1378,7 +1393,7 @@ int btrfs_read_sys_array(struct btrfs_root *root) return 0; } -int btrfs_read_chunk_tree(struct btrfs_root *root) +int btrfs_read_chunk_tree(struct btrfs_root *root, int check_mount) { struct btrfs_path *path; struct extent_buffer *leaf; @@ -...
2009 Nov 20
1
fsck.btrfs assertion failure with large number of disks in fs
...PERIMENTAL WARNING! - see http://btrfs.wiki.kernel.org before using adding device /dev/sdc id 2 ... adding device /dev/sdz id 25 fs created label (null) on /dev/sdb nodesize 4096 leafsize 4096 sectorsize 4096 size 22.74TB Btrfs Btrfs v0.19 # fsck.btrfs /dev/sdb fsck.btrfs: volumes.c:1367: btrfs_read_sys_array: Assertion `!(ret)'' failed. Aborted mkfs.btrfs compiled from the Git repository fails with the same error message. Other pertinent information: # uname -a Linux blade1 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux We are investigating btrfs for a long t...
2011 Dec 09
10
[PATCH 0/3] Btrfs: add IO error device stats
The goal is to detect when drives start to get an increased error rate, when drives should be replaced soon. Therefore statistic counters are added that count IO errors (read, write and flush). Additionally, the software detected errors like checksum errors and corrupted blocks are counted. An ioctl interface is added to get the device statistic counters. A second ioctl is added to atomically get
2012 Dec 18
0
[PATCH] [RFC] Btrfs: Subpagesize blocksize (WIP).
...or subpagesize blocksize? if (sectorsize != PAGE_SIZE) { printk(KERN_WARNING "btrfs: Incompatible sector size(%lu) " "found on %s\n", (unsigned long)sectorsize, sb->s_id); goto fail_sb_buffer; } +#endif mutex_lock(&fs_info->chunk_mutex); ret = btrfs_read_sys_array(tree_root); diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 1b319df..c1e052e 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2519,7 +2519,7 @@ static int submit_extent_page(int rw, struct extent_io_tree *tree, int contig = 0; int this_compressed = bio_flags &...
2012 May 25
6
[PATCH v5 0/3] Btrfs: add IO error device stats
Changes v1-v2: - Remove restriction that BTRFS_IOC_GET_DEVICE_STATS is a privileged operation - Cast u64 to unsigned long long for printf() Changes v2-v3: - Rebased on Chris'' current master Changes v3-v4: - Add padding at end of ioctl structure Changes v4-v5: - The statistic members in the ioctl are now organized as an array of 64 bit values. Symbolic names for the array indexes