Re: [PATCH] Btrfs-progs: Add missing free() against fs_info-super_copy

2013-05-27 Thread Filipe David Manana
; otherwise ok. Thanks. Thanks for review and advise. Do you need more action from my side? david -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from

Re: [PATCH] Btrfs-progs: Validate super block checksum

2013-06-06 Thread Filipe David Manana
(*sb)); + transid = btrfs_super_generation(tmp_sb); } } -- 1.7.9.5 -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men

Re: [PATCH 5/5] Btrfs-progs: Validate super block checksum

2013-06-20 Thread Filipe David Manana
); + if (btrfs_super_generation(tmp_sb) transid) { + memcpy(sb, buf, sizeof(*sb)); + transid = btrfs_super_generation(tmp_sb); } } -- 1.7.9.5 -- Filipe David Manana, Reasonable men adapt themselves to the world

Re: [PATCH 5/5] Btrfs-progs: Validate super block checksum

2013-06-21 Thread Filipe David Manana
On Fri, Jun 21, 2013 at 5:18 PM, David Sterba dste...@suse.cz wrote: On Thu, Jun 20, 2013 at 06:08:29PM +0100, Filipe David Manana wrote: Is there any reason why the btrfs progs (except for btrfs-show-super) don't validate the super block's checksum? btrfsck accepts broken filesystems, so

Re: [PATCH 1/5 v2] Btrfs-progs: fix closing of devices

2013-06-21 Thread Filipe David Manana
On Fri, Jun 21, 2013 at 5:11 PM, Liu Bo bo.li@oracle.com wrote: --- a/volumes.c +++ b/volumes.c @@ -116,6 +116,7 @@ static int device_list_add(const char *path, /* we can safely leave the fs_devices entry around */ return -ENOMEM;

Re: [PATCH 02/12] Btrfs-progs: don't close the file descriptor 0 when closing a device

2013-07-03 Thread Filipe David Manana
too at https://patchwork.kernel.org/patch/2787291/ Is there any reason to set device-fd to -1 if we just kfree(device) shortly after? thanks -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends

Re: [PATCH 1/3] Btrfs-progs: add missing write check for mkfs

2013-07-03 Thread Filipe David Manana
everywhere in this function at least. thanks thanks, david -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH 02/12] Btrfs-progs: don't close the file descriptor 0 when closing a device

2013-07-04 Thread Filipe David Manana
On Thu, Jul 4, 2013 at 2:30 AM, Miao Xie mi...@cn.fujitsu.com wrote: On wed, 3 Jul 2013 15:17:02 +0100, Filipe David Manana wrote: On Wed, Jul 3, 2013 at 2:25 PM, Miao Xie mi...@cn.fujitsu.com wrote: +++ b/disk-io.c @@ -1270,12 +1270,13 @@ static int close_all_devices(struct btrfs_fs_info

Re: [PATCH] Btrfs-progs: fix optimization in btrfs_lookup_extent_info

2013-07-04 Thread Filipe David Manana
+ key.offset == root-leafsize) ret = 0; } -- 1.7.9.5 Josef, since git suggests you are the author of this code piece, can you please review this and comment? Thanks. -- Filipe David Manana, Reasonable men adapt themselves

Re: [PATCH 1/2] list: add list_del_each_entry

2013-07-05 Thread Filipe David Manana
linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends

Re: [PATCH 1/2] Btrfs-progs: remove duplicated code in cmds-restore.c

2013-07-10 Thread Filipe David Manana
could make sense in the end. Ok, I understand now why both exist. So please just ignore this patch and the following one (https://patchwork.kernel.org/patch/2825425/). thanks david -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world

Re: btrfs filesystem balance /mnt/btrfs - segmentation fault (kernel BUG at fs/btrfs/relocation.c:3296!)

2013-07-13 Thread Filipe David Manana
Chmielewski http://wpkg.org -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world

Re: [PATCH] Btrfs: add missing error check to find_parent_nodes

2013-07-30 Thread Filipe David Manana
David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] Btrfs-progs: sanitize xattrs when we specify sanitization

2013-08-02 Thread Filipe David Manana
-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends

Re: [PATCH] Btrfs: race free update of super flags

2013-08-05 Thread Filipe David Manana
On Mon, Aug 5, 2013 at 11:10 PM, Zach Brown z...@redhat.com wrote: On Sat, Aug 03, 2013 at 07:43:17PM +0100, Filipe David Borba Manana wrote: Before updating the super block's flags, which is a non-atomic operation, grab the super_lock in the fs_info structure. At the moment only 2 different

Re: [PATCH RFC] Btrfs: add support for persistent mount options

2013-08-06 Thread Filipe David Manana
) { ret = -EINVAL; goto restore; -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH RFC] Btrfs: add support for persistent mount options

2013-08-06 Thread Filipe David Manana
On Tue, Aug 6, 2013 at 10:05 PM, Eric Sandeen sand...@redhat.com wrote: On 8/6/13 3:45 PM, Filipe David Manana wrote: On Tue, Aug 6, 2013 at 9:37 PM, Eric Sandeen sand...@redhat.com wrote: On 8/6/13 1:27 PM, Filipe David Borba Manana wrote: This change allows for most mount options

Re: [PATCH RFC] Btrfs: add support for persistent mount options

2013-08-06 Thread Filipe David Manana
David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

Re: [PATCH RFC] Btrfs: add support for persistent mount options

2013-08-07 Thread Filipe David Manana
directories. Any idea how would this be specified? (not via chattr I guess) david -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send

Re: [PATCH RFC] Btrfs: add support for persistent mount options

2013-08-07 Thread Filipe David Manana
are not always accurate about how to do the things, it’s more like ideas what to do. If you’re going to work on that, please claim the project on the wiki, and possibly write more details abou the design. I will. david -- Filipe David Manana, Reasonable men adapt themselves to the world

Re: [PATCH 2/3] Btrfs: catch error return value from find_extent_in_eb()

2013-08-08 Thread Filipe David Manana
On Thu, Aug 8, 2013 at 6:04 AM, Wang Shilong wangsl.f...@cn.fujitsu.com wrote: find_extent_in_eb() may return ENOMEM, catch this error return value. Signed-off-by: Wang Shilong wangsl.f...@cn.fujitsu.com Reviewed-by: Miao Xie mi...@cn.fujitsu.com --- fs/btrfs/backref.c | 4 1 file

Re: [PATCH] Btrfs-progs: fix a regression in mkfs.btrfs

2013-08-08 Thread Filipe David Manana
...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send

Re: [PATCH 4/5] Btrfs-progs: return error on write failure in make_btrfs()

2013-08-08 Thread Filipe David Manana
) + return -EIO; mkfs.btrfs with leafsize != sectorsize fails. I've sent a patch for it. Copy paste error :( Thanks for catching and fixing it. -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends

Re: [PATCH RFC] Btrfs: add support for persistent mount options

2013-08-09 Thread Filipe David Manana
On Fri, Aug 9, 2013 at 1:01 AM, David Sterba dste...@suse.cz wrote: On Wed, Aug 07, 2013 at 12:33:09PM +0100, Filipe David Manana wrote: Thanks, I missed to find that before. The implementation is very different from the one I proposed. That's one of the fundaental questions how to store

Re: [PATCH] Btrfs: fix race between removing a dev and writing sbs

2013-08-09 Thread Filipe David Manana
) { struct btrfs_fs_devices *fs_devices; -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: [PATCH] Btrfs: separate out tests into their own directory

2013-08-14 Thread Filipe David Manana
On Wed, Aug 14, 2013 at 8:28 PM, Josef Bacik jba...@fusionio.com wrote: The plan is to have a bunch of unit tests that run when btrfs is loaded when you build with the appropriate config option. My ultimate goal is to have a test for every non-static function we have, but at first I'm going

Re: [PATCH] Btrfs: optimize key searches in btrfs_search_slot

2013-08-29 Thread Filipe David Manana
. Josef -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: [PATCH v4] Btrfs: optimize key searches in btrfs_search_slot

2013-08-30 Thread Filipe David Manana
| The statistics do not change from patch to patch+1 but you're doing changes that may affect performance, can you please update them as well? Sure. They're actually better now :) Patch following with updated histograms. thanks, david -- Filipe David Manana, Reasonable men adapt themselves

Re: [PATCH v4] Btrfs: optimize key searches in btrfs_search_slot

2013-08-30 Thread Filipe David Manana
On Fri, Aug 30, 2013 at 3:59 PM, David Sterba dste...@suse.cz wrote: On Fri, Aug 30, 2013 at 03:47:21PM +0100, Filipe David Manana wrote: Sure. They're actually better now :) Thanks. The numbers changed in both samples, but the relative difference is still 2x improvement in this particular

Re: [PATCH v6] Btrfs: optimize key searches in btrfs_search_slot

2013-09-01 Thread Filipe David Manana
); + ret = key_search(b, key, level, prev_cmp, slot); if (level != 0) { int dec = 0; -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men

Re: [PATCH v7] Btrfs: optimize key searches in btrfs_search_slot

2013-09-02 Thread Filipe David Manana
to be under #ifdef BTRFS_ASSERT / #endif at all. To avoid the compiler warning, as mentioned before. Between patch versions v5 to v7, I don't have any strong preference. All have correct, small and simple code. + *slot = 0; + + return 0; +} -- Filipe David Manana, Reasonable men

Re: [PATCH] Btrfs: fix sync fs to actually wait for all data to be persisted

2013-09-23 Thread Filipe David Manana
Miao btrfs_wait_all_ordered_extents(fs_info); trans = btrfs_attach_transaction_barrier(root); -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men

Re: [PATCH v2] Btrfs: fix sync fs to actually wait for all data to be persisted

2013-09-23 Thread Filipe David Manana
= btrfs_attach_transaction_barrier(root); -- 1.7.9.5 -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: [PATCH v2] Btrfs: fix sync fs to actually wait for all data to be persisted

2013-09-23 Thread Filipe David Manana
On Mon, Sep 23, 2013 at 10:59 AM, Liu Bo bo.li@oracle.com wrote: On Mon, Sep 23, 2013 at 10:53:20AM +0100, Filipe David Manana wrote: On Mon, Sep 23, 2013 at 10:23 AM, Filipe David Borba Manana fdman...@gmail.com wrote: Currently the fs sync function (super.c:btrfs_sync_fs()) doesn't

Re: [PATCH v3 0/3] __btrfs_drop_extents() BUG_ON reproducer

2014-02-14 Thread Filipe David Manana
-- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] Btrfs: fix send dealing with file renames and directory moves

2014-02-15 Thread Filipe David Manana
David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] Btrfs: more send support for parent/child dir relationship inversion

2014-02-15 Thread Filipe David Manana
|| +memcmp(path_before-start, path_after-start, len1)) { ret = 1; goto out; } -- 1.7.9.5 -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress

Re: How to recover from failing btrfs send | btrfs receive?

2014-02-16 Thread Filipe David Manana
at the xterm you want to type in - A.S.R. Microsoft is to operating systems what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | PGP 1024R/763BE901 -- Filipe David Manana, Reasonable men adapt

Re: How to recover from failing btrfs send | btrfs receive?

2014-02-16 Thread Filipe David Manana
On Sun, Feb 16, 2014 at 5:23 PM, Marc MERLIN m...@merlins.org wrote: On Sun, Feb 16, 2014 at 03:38:18PM +, Filipe David Manana wrote: On Sun, Feb 16, 2014 at 2:23 PM, Marc MERLIN m...@merlins.org wrote: Hi Fillipe, I see you have another fix for btrfs send (attached below), as ell

Re: [PATCH v2] xfstests: add regression test for btrfs incremental send

2014-02-16 Thread Filipe David Manana
of the heads of test writers. Well, will get rid of those run_check calls, but that will imply adding some | _filter_scratch in many places. So shortening lines is not a great argument :) thanks Cheers, Dave. -- Dave Chinner da...@fromorbit.com -- Filipe David Manana, Reasonable men

Re: [PATCH v2] xfstests: add regression test for btrfs incremental send

2014-02-16 Thread Filipe David Manana
On Mon, Feb 17, 2014 at 1:17 AM, Dave Chinner da...@fromorbit.com wrote: On Sun, Feb 16, 2014 at 11:43:17PM +, Filipe David Manana wrote: On Sun, Feb 16, 2014 at 11:08 PM, Dave Chinner da...@fromorbit.com wrote: On Sat, Feb 15, 2014 at 03:36:13PM +, Filipe David Borba Manana wrote

Re: [PATCH v3] xfstests: add regression test for btrfs incremental send

2014-02-16 Thread Filipe David Manana
-- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v2] btrfs: send: lower memory requirements in common case

2014-02-20 Thread Filipe David Manana
; } -- 1.7.9 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men

Re: [PATCH] xfstests: add test for btrfs send issuing premature rmdir operations

2014-02-24 Thread Filipe David Manana
] xfstests: add function _require_fssum()). Thanks for the good suggestions Dave. Dave. -- Dave Chinner da...@fromorbit.com -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable

Re: [PATCH] xfstests: add function _require_fssum()

2014-02-24 Thread Filipe David Manana
. -- Dave Chinner da...@fromorbit.com -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: kernel BUG at fs/btrfs/ctree.c:3215!

2014-02-24 Thread Filipe David Manana
40b604c8c92dba0d ]--- -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world

Re: [PATCH] xfstests: add function _require_fssum()

2014-02-24 Thread Filipe David Manana
On Mon, Feb 24, 2014 at 10:22 PM, Dave Chinner da...@fromorbit.com wrote: On Mon, Feb 24, 2014 at 01:22:36PM +, Filipe David Manana wrote: On Mon, Feb 24, 2014 at 12:23 PM, Dave Chinner da...@fromorbit.com wrote: On Mon, Feb 24, 2014 at 11:56:23AM +, Filipe David Borba Manana wrote

Re: [PATCH 1/2] btrfs: send: fix old buffer length in fs_path_ensure_buf

2014-02-25 Thread Filipe David Manana
On Tue, Feb 25, 2014 at 6:32 PM, David Sterba dste...@suse.cz wrote: In btrfs: send: lower memory requirements in common case the code to save the old_buf_len was incorrectly moved to a wrong place and broke the original logic. Reported-by: Filipe David Manana fdman...@gmail.com Signed-off

Re: [PATCH v2] xfstests: add test for btrfs-progs restore feature

2014-02-25 Thread Filipe David Manana
, not $tmp. Alright... Many other existing tests do things like this. Thanks Dave Cheers, Dave. -- Dave Chinner da...@fromorbit.com -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends

Re: [PATCH v2] xfstests: add test for btrfs-progs restore feature

2014-02-25 Thread Filipe David Manana
On Tue, Feb 25, 2014 at 10:11 PM, Dave Chinner da...@fromorbit.com wrote: On Tue, Feb 25, 2014 at 09:02:43PM +, Filipe David Manana wrote: On Tue, Feb 25, 2014 at 7:54 PM, Dave Chinner da...@fromorbit.com wrote: On Tue, Feb 25, 2014 at 06:44:08PM +, Filipe David Borba Manana wrote

Re: [PATCH v2] xfstests: add test for btrfs-progs restore feature

2014-02-25 Thread Filipe David Manana
On Tue, Feb 25, 2014 at 11:33 PM, Dave Chinner da...@fromorbit.com wrote: On Tue, Feb 25, 2014 at 10:34:07PM +, Filipe David Manana wrote: On Tue, Feb 25, 2014 at 10:11 PM, Dave Chinner da...@fromorbit.com wrote: On Tue, Feb 25, 2014 at 09:02:43PM +, Filipe David Manana wrote: On Tue

Re: [PATCH] Btrfs: use btrfs_crc32c everywhere instead of libcrc32c

2014-02-27 Thread Filipe David Manana
Arch user pointed the problem out here: https://aur.archlinux.org/packages/linux-mainline/ Also, apologies if this has already been reported. I searched the mailing list, but couldn't find anything. Cheers, WorMzy -- Filipe David Manana, Reasonable men adapt themselves to the world

Re: [PATCH] Btrfs: use btrfs_crc32c everywhere instead of libcrc32c

2014-03-03 Thread Filipe David Manana
On Sat, Mar 1, 2014 at 9:20 PM, WorMzy Tykashi wormzy.tyka...@gmail.com wrote: On 27 February 2014 12:43, Filipe David Manana fdman...@gmail.com wrote: On Wed, Feb 26, 2014 at 11:26 PM, WorMzy Tykashi wormzy.tyka...@gmail.com wrote: Hi, Hi Hi again, Sorry for the delay in replying

Re: [PATCH v5 00/18] Replace btrfs_workers with kernel workqueue based btrfs_workqueue

2014-03-11 Thread Filipe David Manana
...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send

Re: warn at fs/btrfs/extent-tree.c:5748 __btrfs_free_extent+0x9ce/0xa20

2014-03-14 Thread Filipe David Manana
this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's

Re: BTRFS critical / kernel BUG / high load

2014-03-17 Thread Filipe David Manana
mails http://email.is-not-s.ms/ It is now pitch dark. If you proceed, you will likely fall into a pit. -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe

Re: BTRFS critical / kernel BUG / high load

2014-03-17 Thread Filipe David Manana
On Mon, Mar 17, 2014 at 12:47 PM, Florian Bruhin m...@the-compiler.org wrote: * Filipe David Manana fdman...@gmail.com [2014-03-17 11:16:35 +]: On Mon, Mar 17, 2014 at 5:57 AM, Florian Bruhin m...@the-compiler.org wrote: Hi, on one of my servers running btrfs, I noticed a very high

Re: btrfs send/receive still gets out of sync in 3.14.0

2014-03-30 Thread Filipe David Manana
--- Gort! Klaatu barada nikto! --- -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: btrfs send/receive still gets out of sync in 3.14.0

2014-03-30 Thread Filipe David Manana
On Sun, Mar 30, 2014 at 3:27 PM, Marc MERLIN m...@merlins.org wrote: On Sun, Mar 30, 2014 at 02:13:35PM +0100, Filipe David Manana wrote: On Sun, Mar 30, 2014 at 1:42 PM, Hugo Mills h...@carfax.org.uk wrote: On Sat, Mar 29, 2014 at 08:22:02PM -0700, Marc MERLIN wrote: On Sat, Mar 22, 2014

Re: Btrfs file content missmatch incrementally sending subvolumes containing systemd journal files

2014-03-30 Thread Filipe David Manana
David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo

Re: [ANNOUNCE] xfstests: updated to cf1ed54

2014-04-04 Thread Filipe David Manana
unsubscribe linux-ext4 in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends

Re: [PATCH] Btrfs: implement inode_operations callback tmpfile

2014-04-04 Thread Filipe David Manana
(plus scrub, send, btrfsck, etc) -chris -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: determining snapshot size - adding work to do info to btrfs send

2014-04-04 Thread Filipe David Manana
is a device used to point at the xterm you want to type in - A.S.R. Microsoft is to operating systems what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | PGP 1024R/763BE901 -- Filipe David

Re: [RFC PATCH] Btrfs: send, add calculate data size flag to allow for progress estimation

2014-04-04 Thread Filipe David Manana
| \ +BTRFS_SEND_FLAG_CALCULATE_DATA_SIZE) struct btrfs_ioctl_send_args { __s64 send_fd; /* in */ -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends

Re: [RFC PATCH] Btrfs: send, add calculate data size flag to allow for progress estimation

2014-04-04 Thread Filipe David Manana
we'll have v2 fully specified and maybe implemented :) Thanks David __BTRFS_SEND_C_MAX, }; #define BTRFS_SEND_C_MAX (__BTRFS_SEND_C_MAX - 1) -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress

Re: [RFC PATCH] Btrfs: send, add calculate data size flag to allow for progress estimation

2014-04-06 Thread Filipe David Manana
is a device used to point at the xterm you want to type in - A.S.R. Microsoft is to operating systems what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | PGP 1024R/763BE901 -- Filipe David Manana

Re: [ANNOUNCE] xfstests: updated to cf1ed54

2014-04-08 Thread Filipe David Manana
On Tue, Apr 8, 2014 at 1:14 AM, Dave Chinner da...@fromorbit.com wrote: On Fri, Apr 04, 2014 at 02:07:16PM +0100, Filipe David Manana wrote: On Fri, Apr 4, 2014 at 10:03 AM, Dave Chinner da...@fromorbit.com wrote: Hi folks, The xfstests repository at git://oss.sgi.com/xfs/cmds/xfstests has

Re: [PATCH 2/3] xfstests: Unset SCRATCH_DEV when deduced from SCRATCH_DEV_POOL

2014-04-08 Thread Filipe David Manana
. Signed-off-by: Lukas Czerner lczer...@redhat.com Tested-by: Filipe David Manana fdman...@gmail.com Tests working for btrfs now. Thanks Lukas. --- common/config | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common/config b/common/config index 6fa18e2..3163801

Re: [PATCH 1/3] xfstests: Fix SCRATCH_DEV_POOL handling

2014-04-08 Thread Filipe David Manana
SCRATCH_DEV in the case we're deducing it from SCRATCH_DEV_POOL. Signed-off-by: Lukas Czerner lczer...@redhat.com Reported-by: Filipe David Manana fdman...@gmail.com Tested-by: Filipe David Manana fdman...@gmail.com Tests working for btrfs now. Thanks Lukas. --- common/config | 7 ++- 1 file

Re: [PATCH 3/3] xfstests: Fix setting FSTYP automatically

2014-04-08 Thread Filipe David Manana
in the code path. Fix this by using OSTYP environment variable as a fallback in the case that HOSTOS does not work and move the check to common/config. Signed-off-by: Lukas Czerner lczer...@redhat.com Tested-by: Filipe David Manana fdman...@gmail.com Tests working for btrfs now. Thanks Lukas

Re: [PATCH] btrfs: fix lockdep warning with reclaim lock inversion

2014-04-09 Thread Filipe David Manana
btrfs_block_group_cache * -- Jeff Mahoney SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves

Re: [PATCH] Btrfs-progs: update btrfs_file_extent_inline_len to match kernel version

2014-04-11 Thread Filipe David Manana
; rec-found_size += num_bytes; --- Thanks David. Can you add it please? I was using an older version of the integration branch. -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends

Re: [PATCH 4/4] btrfs-progs: Fix the return value when executing 'btrfs pro get' on a uncompress file.

2014-04-15 Thread Filipe David Manana
...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line

Re: [PATCH v2 4/4] btrfs-progs: Fix the return value when executing 'btrfs pro get' on a uncompress file.

2014-04-15 Thread Filipe David Manana
) { -- 1.9.2 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable

Re: [PATCH 1/4] Btrfs: send, bump stream version

2014-04-15 Thread Filipe David Manana
On Tue, Apr 15, 2014 at 6:41 PM, Mark Fasheh mfas...@suse.de wrote: On Tue, Apr 15, 2014 at 06:34:38PM +0100, Filipe David Manana wrote: On Tue, Apr 15, 2014 at 6:28 PM, Mark Fasheh mfas...@suse.de wrote: On Tue, Apr 15, 2014 at 05:40:18PM +0100, Filipe David Borba Manana wrote

Re: [PATCH 1/4] Btrfs: send, bump stream version

2014-04-15 Thread Filipe David Manana
On Tue, Apr 15, 2014 at 8:35 PM, Mark Fasheh mfas...@suse.de wrote: On Tue, Apr 15, 2014 at 07:30:51PM +0100, Filipe David Manana wrote: On Tue, Apr 15, 2014 at 7:10 PM, Josef Bacik jba...@fb.com wrote: Just make a SUPPORTS_V2 flag that userspace can pass in through the existing flags

Re: [PATCH] Btrfs: implement inode_operations callback tmpfile

2014-04-16 Thread Filipe David Manana
the comment. Thanks Thanks, chandan. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves

Re: [PATCH] Btrfs: implement inode_operations callback tmpfile

2014-04-16 Thread Filipe David Manana
On Wed, Apr 16, 2014 at 12:09 PM, Christoph Hellwig h...@infradead.org wrote: On Wed, Apr 16, 2014 at 11:36:23AM +0100, Filipe David Manana wrote: The xattr is needed for the case where an acl is inherited. And 5 units are required for orphan insertion (see comment on top of btrfs_orphan_add

Re: [PATCH] xfstests: btrfs, test send's ability to punch holes and prealloc extents

2014-04-16 Thread Filipe David Manana
+# the file's size. +$XFS_IO_PROG -r -c fiemap -l $SCRATCH_MNT/mysnap2/foo | _filter_scratch Same here. Cheers, Dave. -- Dave Chinner da...@fromorbit.com -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all

Re: [PATCH 2/4 v2] Btrfs-progs: send, implement total data size callback and progress report

2014-04-16 Thread Filipe David Manana
progress., NULL }; -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: [PATCH] xfstests: btrfs, test send's ability to punch holes and prealloc extents

2014-04-16 Thread Filipe David Manana
On Thu, Apr 17, 2014 at 12:13 AM, Dave Chinner da...@fromorbit.com wrote: On Wed, Apr 16, 2014 at 03:39:18PM +0100, Filipe David Manana wrote: On Wed, Apr 16, 2014 at 1:23 AM, Dave Chinner da...@fromorbit.com wrote: On Tue, Apr 15, 2014 at 05:43:21PM +0100, Filipe David Borba Manana wrote

Re: [PATCH 1/4] Btrfs: send, bump stream version

2014-04-18 Thread Filipe David Manana
On Fri, Apr 18, 2014 at 6:18 PM, David Sterba dste...@suse.cz wrote: On Tue, Apr 15, 2014 at 08:49:52PM +0100, Filipe David Manana wrote: On Tue, Apr 15, 2014 at 8:35 PM, Mark Fasheh mfas...@suse.de wrote: On Tue, Apr 15, 2014 at 07:30:51PM +0100, Filipe David Manana wrote: On Tue, Apr 15

Re: [PATCH 3/4 v3] Btrfs-progs: send, implement fallocate command callback

2014-04-18 Thread Filipe David Manana
/features/send_stream_version Thanks David -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: [PATCH 001/001] btrfs: Mechanism to modify the permission of a subvolume

2014-04-23 Thread Filipe David Manana
majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux

Re: Which companies contribute to Btrfs?

2014-04-24 Thread Filipe David Manana
from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves

Re: [PATCH 2/2] Btrfs-progs: open file with O_RDONLY on getting property

2014-04-25 Thread Filipe David Manana
*dirstream); int get_fs_info(char *path, struct btrfs_ioctl_fs_info_args *fi_args, struct btrfs_ioctl_dev_info_args **di_ret); -- 1.8.2.1 -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress

Re: [PATCH 1/2] Btrfs-progs: set string end sing '\0' for property

2014-04-25 Thread Filipe David Manana
-- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org

Re: [PATCH v2] Btrfs-progs: set string end sing '\0' for property

2014-04-25 Thread Filipe David Manana
-- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org

Re: [PATCH 6/6 v2] Btrfs: add send_stream_version attribute to sysfs

2014-05-02 Thread Filipe David Manana
that are settable, plus there's 2 versions of it, one global and one per fs (uuid) subdirectory (and it felt odd to me to add it to one of those subdirs and not the other). Thanks David Reviewed-by: David Sterba dste...@suse.cz -- Filipe David Manana, Reasonable men adapt themselves to the world

Re: [PATCH] Btrfs: faster/more efficient insertion of file extent items

2014-05-07 Thread Filipe David Manana
)) -- 1.7.9.5 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable

Re: [PATCH v2] Btrfs: fix hang on error (such as ENOSPC) when writing extent pages

2014-05-09 Thread Filipe David Manana
More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line

Re: 3.15-rc5 btrfs send/receive corruption errors? Does scrub warn of silent corruption?

2014-05-13 Thread Filipe David Manana
/ | PGP 1024R/763BE901 -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: 3.15-rc5 btrfs send/receive corruption errors? Does scrub warn of silent corruption?

2014-05-19 Thread Filipe David Manana
, 2014 at 09:11:34PM +0100, Filipe David Manana wrote: Is there anything you'd like from the subvolumes on the source that btrfs cannot process and that I'm going to delete so that I can start syncing back from the SSD to the HDD? For the issue you had with send sending weird path names

Re: BUG: Replacing a directory with a subvolume breaks incremental snapshots

2014-05-24 Thread Filipe David Manana
://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: btrfs-receive rename error

2014-06-02 Thread Filipe David Manana
of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe

Re: [PATCH v4] xfstests: add test for btrfs cloning with file holes

2014-06-03 Thread Filipe David Manana
00 00 00 00 00 00 00 00 00 00 +* +042 diff --git a/tests/btrfs/group b/tests/btrfs/group index b668485..2c10c5b 100644 --- a/tests/btrfs/group +++ b/tests/btrfs/group @@ -57,3 +57,4 @@ 052 auto quick 053 auto quick 054 auto quick +055 auto quick -- Filipe David Manana

Re: [PATCH] Btrfs: fix leaf corruption after __btrfs_drop_extents

2014-06-08 Thread Filipe David Manana
On Sun, Jun 8, 2014 at 11:54 AM, Liu Bo bo.li@oracle.com wrote: On Fri, Jun 06, 2014 at 01:11:17PM +0100, Filipe David Manana wrote: On Fri, Jun 6, 2014 at 7:25 AM, Liu Bo bo.li@oracle.com wrote: Several reports about leaf corruption has been floating on the list, one of them

Re: [PATCH] Btrfs: fix leaf corruption after __btrfs_drop_extents

2014-06-08 Thread Filipe David Manana
On Sun, Jun 8, 2014 at 12:11 PM, Filipe David Manana fdman...@gmail.com wrote: On Sun, Jun 8, 2014 at 11:54 AM, Liu Bo bo.li@oracle.com wrote: On Fri, Jun 06, 2014 at 01:11:17PM +0100, Filipe David Manana wrote: On Fri, Jun 6, 2014 at 7:25 AM, Liu Bo bo.li@oracle.com wrote: Several

Re: [PATCH] Btrfs: fix qgroups sanity test crash or hang

2014-06-12 Thread Filipe David Manana
, usually way bigger than BTRFS_MAX_LEVEL (8), causing all sorts of badness in btrfs_search_slot() due to out of bounds accesses to the arrays path-{locks | nodes | slots} -chris -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves

Re: [PATCH v2] Btrfs: fix RCU correctness warning when running sanity tests

2014-06-13 Thread Filipe David Manana
); -- 1.9.1 -- Filipe David Manana, Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

  1   2   3   4   >