Displaying 20 results from an estimated 20000 matches similar to: "Updates pushed out"
2012 May 07
0
[PATCH V2] btrfs: fix message printing
Fix various messages to include newline and module prefix.
Signed-off-by: Daniel J Blueman <daniel@quora.org>
---
fs/btrfs/super.c | 8 ++++----
fs/btrfs/volumes.c | 6 +++---
fs/btrfs/zlib.c | 8 ++++----
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index c5f8fca..c0b8727 100644
--- a/fs/btrfs/super.c
+++
2011 Apr 07
0
[PATCH] btrfs-progs: cast u64 to long long to avoid printf warnings
When building on ppc64 I hit a number of warnings in printf:
btrfs-map-logical.c:69: error: format ‘%Lu’ expects type ‘long long
unsigned int’, but argument 4 has type ‘u64’
Fix them.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/btrfs-list.c b/btrfs-list.c
index 93766a8..c602b87 100644
--- a/btrfs-list.c
+++ b/btrfs-list.c
@@ -249,7 +249,8 @@ static int
2010 Jun 05
0
PULL: Properly cast and avoid compiler warnings, fixes build on alpha and ia64.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
please apply the following patch to fix building btfs-progs on alpha and
ia64 from:
git://git.debian-maintainers.org/git/daniel/btrfs-tools.git
- ---snip---
commit 561e811286c52f141cf4944fe219e6b61fab0ac9
Author: Daniel Baumann <daniel@debian.org>
Date: Sat Jun 5 08:53:46 2010 +0200
Properly cast and avoid compiler warnings,
2011 Aug 08
0
[PATCH] Btrfs: ratelimit the generation printk for the free space cache
A user reported getting spammed when moving to 3.0 by this message. Since we
switched to the normal checksumming infrastructure all old free space caches
will be wrong and need to be regenerated so people are likely to see this
message a lot, so ratelimit it so it doesn''t fill up their logs and freak them
out. Thanks,
Reported-by: Andrew Lutomirski <luto@mit.edu>
Signed-off-by:
2008 Oct 29
0
[Fwd: How do I printk <type> correctly?]
Hi Folks,
Please read the below post - I keep having to fix up printk-related
build warnings, usually because I miss them on x86_64, then someone builds
on ia64 or ppc, etc and e-mails me. This is trivial to avoid though - we
keep making the same mistake:
{
u64 block;
printk("block: %llu\n", block);
}
That code above will generate a warning similar to:
fs/ocfs2/xxx.c:lineo:
2010 Apr 19
0
[PATCH 08/12] Btrfs: Introduce global metadata reservation
Reserve metadata space for extent tree, checksum tree and root tree
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
---
diff -urp 8/fs/btrfs/ctree.h 9/fs/btrfs/ctree.h
--- 8/fs/btrfs/ctree.h 2010-04-18 10:26:38.327697818 +0800
+++ 9/fs/btrfs/ctree.h 2010-04-18 10:30:01.883697869 +0800
@@ -682,21 +682,15 @@ struct btrfs_space_info {
u64 bytes_reserved; /* total bytes the allocator has
2012 Mar 15
0
[PATCH] Btrfs: fix deadlock during allocating chunks
This deadlock comes from xfstests 251.
We''ll hold the chunk_mutex throughout the whole of a chunk allocation.
But if we find that we''ve used up system chunk space, we need to allocate a
new system chunk, but this will lead to a recursion of chunk allocation and end
up with a deadlock on chunk_mutex.
So instead we need to allocate the system chunk first if we find we''re
2011 Aug 06
0
help recover from unmountable btrfs
After running one too many times into “parent transid verify failed”
that prevents a filesystem from being mounted, I found out how to adjust
some system blocks so that the kernel could get past that check and
mount the filesystem. In one case, I could get all the data I wanted
from the filesystem; in another, many checksums failed and I ended up
throwing it all away, so no guarrantees.
2013 Apr 11
2
[PATCH 2/2] Btrfs: use a lock to protect incompat/compat flag of the super block
The following case will make the incompat/compat flag of the super block
be recovered.
Task1 |Task2
flags = btrfs_super_incompat_flags(); |
|flags = btrfs_super_incompat_flags();
flags |= new_flag1; |
|flags |= new_flag2;
btrfs_set_super_incompat_flags(flags); |
|btrfs_set_super_incompat_flags(flags);
the new_flag1 is recovered.
In order to avoid this problem, we
2011 Dec 22
0
[RESEND] [PATCH v2] Btrfs: runtime integrity check tool
Sigh. In the previously sent v2 patch the mail 1/4 exceeded the archaic
100,000 chars limit of vger.kernel.org (no complains from checkpatch.pl
though). Therefore I now prepared a git-daemon for pulling.
Please pull from
git://btrfs.giantdisaster.de/git/btrfs integrity-check-patch-v2
Changes v1-v2:
- Merge with updated disk flush code
- Use bdevname to print the bdev''s name instead of
2013 Jan 14
5
[PATCH] mm/slab: add a leak decoder callback
This adds a leak decoder callback so that kmem_cache_destroy()
can use to generate debugging output for the allocated objects.
Callers like btrfs are using their own leak tracking which will
manage allocated objects in a list(or something else), this does
indeed the same thing as what slab does. So adding a callback
for leak tracking can avoid this as well as runtime overhead.
Signed-off-by:
2011 Nov 30
1
[PATCH] Canonicalise BTRFS: and Btrfs: to btrfs:
Currently there are 3 different capitalisations of btrfs: used in
printk()''s, BTRFS: (3 occurences), Btrfs: (1 occurence) and btrfs:
(77 occurences).
It''s best to have them all the same for consistency, so we canonicalise
the two minority cases to btrfs:.
Signed-off-by: Chris Samuel <chris@csamuel.org>
---
fs/btrfs/disk-io.c | 4 ++--
fs/btrfs/inode.c | 4 ++--
2
2012 May 27
0
[RFC PATCH] Decrease Metadata Fragment Using A Caterpillar Band Method
I made an attempt to partly decrease fragment by using a preallocated
area of multiple size of a std blocksize for a tree block when it is COWed.
The basic idea is that if any a tree block need to be created,
we offer, say, 2 or 4 multiples of a std blocksize for it, then use the
first block in the continuous blocks. When this block need a cow in the
future, a new free block in these continuous
2013 Jan 16
6
[PATCH V2] mm/slab: add a leak decoder callback
This adds a leak decoder callback so that slab destruction
can use to generate debugging output for the allocated objects.
Callers like btrfs are using their own leak tracking which will
manage allocated objects in a list(or something else), this does
indeed the same thing as what slab does. So adding a callback
for leak tracking can avoid this as well as runtime overhead.
(The idea is from
2011 Nov 01
0
[PATCH] Btrfs-progs: change the way mkfs picks raid profiles
Currently mkfs in response to
mkfs.btrfs -d raid10 dev1 dev2
instead of telling "you can''t do that" creates a SINGLE on two devices,
and only rebalance can transform it to raid0. Generally, it never warns
users about decisions it makes and it''s not at all obvious which profile
it picks when.
Fix this by checking the number of effective devices and reporting back
2013 Feb 11
2
[PATCH] btrfs: accept zero for balance usage filter
The condition can be relaxed to accept also 0 which will delete
unoccupied chunks and does not need space for the actual data
relocation. Until there is an automatic empty chunk reclaim, we
can use this as a last resort option under enospc.
CC: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
---
Also needs progs update, but is not required for the
2009 Mar 20
1
[PATCH 2/4] Btrfs: clean up find_free_extent
The whole loop=0,1,2 thing was kind of odd and not very self explanatory. I''ve
replaced it with a list_for_each_entry on space_info->block_groups. If we have
a hint we just jump into the loop with the block group and start looking for
space. If we don''t find anything we start at the beginning and start looking.
We never come out of the loop with a ref on the block_group
2013 Mar 15
0
[PATCH] Btrfs-progs: add skinny metadata support to progs V3
This fixes up the progs to properly deal with skinny metadata. This adds the -x
option to mkfs and btrfstune for enabling the skinny metadata option. This also
makes changes to fsck so it can properly deal with the skinny metadata entries.
Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
---
V2->V3: update the mkfs.btrfs man page with the new option
This is based on
2011 Oct 04
3
[PATCH] Btrfs: break out of orphan cleanup if we can't make progress V2
I noticed while running xfstests 83 that if we didn''t have enough space to
delete our inode the orphan cleanup would just loop. This is because it keeps
finding the same orphan item and keeps trying to kill it but can''t because we
don''t get an error back from iput for deleting the inode. So keep track of the
last guy we tried to kill, if it''s the same as the
2013 Mar 02
1
[PATCH] btrfs: return EPERM in btrfs_rm_device()
Currently there are error paths in btrfs_rm_device() where EINVAL is
returned telling the user they passed an invalid argument even though
they passed a valid device. Change to return EPERM instead as the
operation is not permitted.
Signed-off-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
---
fs/btrfs/volumes.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git