search for: ignore_key

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

2015 Dec 24
4
[PATCH] btrfs: Fix logical to physical block address mapping
...gt;stripe.offset;/*ignore other stripes */ - insert_map(fs, &item); + insert_map(fs, key, chunk); } } @@ -356,8 +367,8 @@ static void btrfs_read_chunk_tree(struct fs_info *fs) { struct btrfs_info * const bfs = fs->fs_info; struct btrfs_disk_key search_key; + struct btrfs_disk_key ignore_key; struct btrfs_chunk *chunk; - struct btrfs_chunk_map_item item; struct btrfs_path path; if (!(bfs->sb.flags & BTRFS_SUPER_FLAG_METADUMP)) { @@ -370,17 +381,24 @@ static void btrfs_read_chunk_tree(struct fs_info *fs) clear_path(&path); search_tree(fs, bfs->sb.chunk_root,...
2015 Dec 24
0
[PATCH v2] btrfs: Fix logical to physical block address mapping
...lying block devices, so we must skip them instead of finishing lookup. The bug was reproduced with btrfs-progs v4.2.2. Cc: Gene Cumm <gene.cumm at gmail.com> Cc: H. Peter Anvin <hpa at zytor.com> Signed-off-by: Paulo Alcantara <pcacjr at zytor.com> --- v1 -> v2: * Do not set ignore_key multiple times. Set it before parsing chunk tree. --- core/fs/btrfs/btrfs.c | 52 +++++++++++++++++++++++++++++++++++---------------- core/fs/btrfs/btrfs.h | 2 ++ 2 files changed, 38 insertions(+), 16 deletions(-) diff --git a/core/fs/btrfs/btrfs.c b/core/fs/btrfs/btrfs.c index 53e1105..ca61...
2015 Dec 27
0
[PATCH v3] btrfs: Fix logical to physical block address mapping
...lying block devices, so we must skip them instead of finishing lookup. The bug was reproduced with btrfs-progs v4.2.2. Cc: Gene Cumm <gene.cumm at gmail.com> Cc: H. Peter Anvin <hpa at zytor.com> Signed-off-by: Paulo Alcantara <pcacjr at zytor.com> --- v1 -> v2: * Do not set ignore_key multiple times. Set it before parsing chunk tree. v2 -> v3: * Replace an unnecessary goto with a continue statement. --- core/fs/btrfs/btrfs.c | 49 +++++++++++++++++++++++++++++++++---------------- core/fs/btrfs/btrfs.h | 2 ++ 2 files changed, 35 insertions(+), 16 deletions(-) diff --gi...
2015 Dec 27
1
[PATCH v2] btrfs: Fix logical to physical block address mapping
...nstead of finishing lookup. > > The bug was reproduced with btrfs-progs v4.2.2. > > Cc: Gene Cumm <gene.cumm at gmail.com> > Cc: H. Peter Anvin <hpa at zytor.com> > Signed-off-by: Paulo Alcantara <pcacjr at zytor.com> > --- > v1 -> v2: > * Do not set ignore_key multiple times. Set it before parsing chunk > tree. > --- > core/fs/btrfs/btrfs.c | 52 +++++++++++++++++++++++++++++++++++---------------- > core/fs/btrfs/btrfs.h | 2 ++ > 2 files changed, 38 insertions(+), 16 deletions(-) > > diff --git a/core/fs/btrfs/btrfs.c b/core/fs...