Displaying 20 results from an estimated 100 matches similar to: "[btrfs-progs] btrfs fi df output"
2012 Jan 11
5
Warning: bad fsid on block 20971520
Hi,
the $subj warning appears sometimes in syslog, in my case when
xfstests/209 runs looped. The minimal reproducer is looped mkfs+mount.
The message comes from disk-io.c btree_readpage_end_io_hook():
581 if (check_tree_block_fsid(root, eb)) {
582 printk_ratelimited(KERN_INFO "btrfs bad fsid on block %llu\n",
583 (unsigned long
2013 Mar 01
0
unremovable dirs from failed unlink
A while ago someone on IRC had a directory with no entries but with a
non-zero i_size. rmdir fails because i_size isn''t zero but there are no
items left to remove and decrease i_size.
At the time casual code inspection implied that this would be possible
in unlucky error cases. I finally got around to really reading up and
reproducing it.
diff --git a/fs/btrfs/inode.c
2013 Sep 22
10
[PATCH] Btrfs: fix sync fs to actually wait for all data to be persisted
Currently the fs sync function (super.c:btrfs_sync_fs()) doesn''t
wait for delayed work to finish before returning success to the
caller. This change fixes this, ensuring that there''s no data loss
if a power failure happens right after fs sync returns success to
the caller and before the next commit happens.
Steps to reproduce the data loss issue:
$ mkfs.btrfs -f /dev/sdb3
$
2013 May 14
1
[PATCH] Btrfs-progs: fix missing recow roots when making btrfs filesystem
When making btrfs filesystem. we firstly write root leaf to
specified filed, and then we recow the root. If we don''t recow,
some trees are not in the correct block group.
Steps to reproduce:
dd if=/dev/zero of=test.img bs=1M count=100
mkfs.btrfs -f test.img
btrfs-debug-tree test.img
extent tree key (EXTENT_TREE ROOT_ITEM 0)
leaf 4210688 items 10 free space 3349 generation 4 owner 2
2012 Feb 10
13
can't read superblock (but could mount)
Hi!
I used to have arch linux running on 1 btrfs partition (sda1, incl. /boot).
When switching to 3.2.5 recently the system fails to boot:
(after udevd)
/etc/rc.sysinit: line 15: 117 Bus error mountpoint -q /proc
and so on, no idea.
It used to boot with 3.2.4, but
1) I obviously had some corruption in the tree, when I tried to delete a
certain file I hit e.g. "kernel BUG at
2002 Feb 04
1
LVM (1.0.2 ), ext3 and 'hot' snapshotting
Hello, all.
I work with lvm ( kernel 2.4.17 + ext3-2.4-0.9.17-2418p3 patch ) but i can't
snapshot a ext3 fs directly
# lvcreate --snap --name snap --size +1G /dev/vgtest/lvtest
# mount -o ro -t ext3 /dev/vgtest/lvtest /snap /mnt/snap
ext3 can't work , ext2 work
If I mount readonly the etx3 filesystem, snapshot-it, and remount rw the
filesystem ( and ro the snapshot ) it work
2012 Mar 10
8
kernel BUG at fs/btrfs/transaction.c:1337!
[11558.527680] ------------[ cut here ]------------
[11558.527708] kernel BUG at fs/btrfs/transaction.c:1337!
[11558.527730] invalid opcode: 0000 [#1] PREEMPT SMP
[11558.527764] CPU 1
[11558.527776] Modules linked in: loop nls_cp437 vfat fat dm_mod xfs
exportfs jfs usb_storage uas fuse ext4 jbd2 mbcache snd_hda_codec_hdmi
snd_hda_codec_realtek arc4 iwlwifi snd_hda_intel snd_hda_codec
uvcvideo
2012 Nov 23
14
extended attributes wiredness
Hi,
I am using kernel 3.7-rc6.
I have written a test application for extended attributes and have for
some folders a wired behaviour:
#include <stdio.h>
#include <string.h>
#include <attr/xattr.h>
char attrs[1024];
ssize_t attrslen;
int i;
char value[1024];
ssize_t valuelen;
int main(int argc, char *argv[])
{
if (argc != 2)
{
fprintf(stderr, "Syntax: testxattr
2016 Apr 28
2
Why duplicate "protected:" in SmallVector.h, StringMap.h?
In SmallVector.h:
class SmallVectorBase {
*protected:*
void *BeginX, *EndX, *CapacityX;
*protected:*
SmallVectorBase(void *FirstEl, size_t Size)
: BeginX(FirstEl), EndX(FirstEl), CapacityX((char*)FirstEl+Size) {}
In StringMap.h:
class StringMapImpl {
*protected:*
// Array of NumBuckets pointers to entries, null pointers are holes.
// TheTable[NumBuckets] contains a sentinel value
2020 Apr 15
1
Re: [PATCH nbdkit 1/9] common: Add a generic implementation of vectors.
On 4/15/20 11:16 AM, Richard W.M. Jones wrote:
> Can be used for building up lists of things, especially
> lists of strings.
> ---
> common/include/Makefile.am | 6 +++
> common/include/test-vector.c | 90 +++++++++++++++++++++++++++++++++
> common/include/vector.h | 96 ++++++++++++++++++++++++++++++++++++
> .gitignore | 1 +
> 4 files
2015 Jul 11
2
[LLVMdev] StringMap question
Hello everyone!
I'm a newcomer for the great LLVM project. I've started to explore the
source code of LLVM project to become more familiar with it, and I've found
some strange usage of move semantics in constructor of StringMapImpl(
StringMapImpl &&RHS) {...} class in include/llvm/ADT/StringMap.h line 56.
Could anyone explain me the purpose of zeroing of all fields of RHS in
2020 Oct 27
0
[PATCH libnbd 1/5] common/utils: Copy simple vector library from nbdkit.
This library proved useful in nbdkit where we need to construct an
array or vector of arbitrary objects, with the easy ability to append
at the end. Wherever code uses realloc(3) to build an array of
objects is a candidate for replacement by this library.
---
Makefile.am | 1 +
common/utils/Makefile.am | 44 ++++++++++
common/utils/vector.c | 51 +++++++++++
2020 Apr 15
0
[PATCH nbdkit 1/9] common: Add a generic implementation of vectors.
Can be used for building up lists of things, especially
lists of strings.
---
common/include/Makefile.am | 6 +++
common/include/test-vector.c | 90 +++++++++++++++++++++++++++++++++
common/include/vector.h | 96 ++++++++++++++++++++++++++++++++++++
.gitignore | 1 +
4 files changed, 193 insertions(+)
diff --git a/common/include/Makefile.am b/common/include/Makefile.am
2011 May 30
5
Damaged super block / fs root
I have accidently damaged the first block(s) of a btrfs partition
and can''t mount it anymore.
I can see that my data is still intact by running a command like:
cat /dev/sda5 | hexdump -C | more
Do any (experimental) tools exist which would allow me to recover the files?
Thank you
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a
2010 Feb 15
3
My first type/provider - does nothing...
Hi list,
i tried to write my first type and provider that should create logical
volumes. Seems like i''m missing something as i get nothing when i use
it: No errors and no logical volume :-(
type/logicalvolume.rb:
=================
Puppet::Type.newtype(:logicalvolume) do
@doc = "Manage logical volumes"
ensurable
newparam(:lvname) do
desc "The logcal
2009 May 12
0
[PATCH 1/2] btrfs-progs: mixed back ref support
This patch adds mixed back ref support for btrfs programs.
The mixed back ref is a new disk format. back compatilibity
is still not implemented. To try the new disk format, you
need fresh formatted btrfs.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
---
diff -urp btrfs-progs-unstable/crc32c.h btrfs-progs-2/crc32c.h
--- btrfs-progs-unstable/crc32c.h 2008-09-30 16:50:58.898877720 +0800
2010 Jan 04
0
[RFC 03/12 RESEND PATCH] Btrfs: Reorder __btrfs_map_block to make code more efficient.
Allocate multi structure only after we know the correct size
and do not do unneeded steps when we are only returning length.
Signed-off-by: jim owens <jowens@hp.com>
---
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
---
2008 Jan 07
1
[PATCH]Add rollback support for the converter
Hello,
This patch adds rollback support for the converter, the converter can
roll back a conversion if the image file haven't been modified. In
addition, I rearrange some codes in convert.c and add a few comments.
Regards
YZ
---
diff -r 12138d4beeb0 convert.c
--- a/convert.c Fri Jan 04 11:29:55 2008 -0500
+++ b/convert.c Mon Jan 07 23:35:25 2008 +0800
@@ -33,6 +33,7 @@
#include
2009 Aug 05
3
RAID[56] with arbitrary numbers of "parity" stripes.
We discussed using the top bits of the chunk type field field to store a
number of redundant disks -- so instead of RAID5, RAID6, etc., we end up
with a single ''RAID56'' flag, and the amount of redundancy is stored
elsewhere.
This attempts it, but I hate it and don''t really want to do it. The type
field is designed as a bitmask, and _used_ as a bitmask in a number of
2010 Jul 14
2
tunefs.lustre --print fails on mounted mdt/ost with mmp
Just checking to be sure this isn''t a known bug or problem. I couldn''t
find a bz for this, but it would appear that tunefs.lustre --print fails
on a lustre mdt or ost device if mounted with mmp.
Is this expected behavior?
TIA
mds1-gps:~ # tunefs.lustre --print /dev/mapper/mdt1
checking for existing Lustre data: not found
tunefs.lustre FATAL: Device /dev/mapper/mdt1 has not