Re: discard synchronous on most SSDs?

2014-03-15 Thread Chris Samuel
On Sat, 15 Mar 2014 04:25:05 PM Chris Samuel wrote: I wonder if it would be possible to use that knowledge to extend the smartctl's --identify functionality to report this? After reading the SATA 3.1 spec I believe that smartctl *can* indicate if a drive claims to support SATA 3.1 NCQ TRIM,

[PATCH] Btrfs-progs: return with -ENOMEM if malloc fails

2014-03-15 Thread Rakesh Pandit
Prevent segfault if memory allocation fails for sargs in get_df (cmds-filesystem.c). Signed-off-by: Rakesh Pandit rak...@tuxera.com --- cmds-filesystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-filesystem.c b/cmds-filesystem.c index c9e27fc..7eb6e9d 100644 ---

Re: Incremental backup for a raid1

2014-03-15 Thread Hugo Mills
On Sat, Mar 15, 2014 at 12:35:30PM +0100, Michael Schuerig wrote: On Thursday 13 March 2014 17:29:11 George Mitchell wrote: I currently use rsync to a separate drive to maintain a backup copy, but it is not integrated into the array like n-way would be, and is definitely not a perfect

Re: [PATCH] Btrfs: fix deadlock with nested trans handles

2014-03-15 Thread Duncan
Rich Freeman posted on Fri, 14 Mar 2014 18:40:25 -0400 as excerpted: And some more background. I had more reboots over the next two days at the same time each day, just after my crontab successfully completed. One of the last thing it does is runs the snapper cleanups which delete a bunch

[PATCH] Btrfs-progs: fsck: fix memory leak and unnecessary call to free

2014-03-15 Thread Rakesh Pandit
Free already allocated memory to item1_data if malloc fails for item2_data in swap_values. Seems to be a typo from commit 70749a77. Signed-off-by: Rakesh Pandit rak...@tuxera.com --- cmds-check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-check.c b/cmds-check.c

Re: [PATCH] Btrfs: remove transaction from send

2014-03-15 Thread Hugo Mills
On Fri, Mar 14, 2014 at 10:44:04PM +, Hugo Mills wrote: On Fri, Mar 14, 2014 at 02:51:22PM -0400, Josef Bacik wrote: On 03/13/2014 06:16 PM, Hugo Mills wrote: On Thu, Mar 13, 2014 at 03:42:13PM -0400, Josef Bacik wrote: Lets try this again. We can deadlock the box if we send on a box

Snapper on Ubuntu

2014-03-15 Thread Hendrik Friedel
Hello, I am not sure, whether this is the right place to ask this question -if not, please advise. Ubuntu installs on btrfs, creating subvolumes for the homes (/home), the root home (/root) and the root (/) named @home, @root and @ respectively. When I install snapper I configure it like

Re: Snapper on Ubuntu

2014-03-15 Thread Michael Schuerig
On Saturday 15 March 2014 15:05:22 Hendrik Friedel wrote: Hello, I am not sure, whether this is the right place to ask this question -if not, please advise. Ubuntu installs on btrfs, creating subvolumes for the homes (/home), the root home (/root) and the root (/) named @home, @root and @

Re: Snapper on Ubuntu

2014-03-15 Thread David Disseldorp
On Sat, 15 Mar 2014 18:47:49 +0100 Hendrik Friedel hend...@friedels.name wrote: I think you may have forgotten to specify the config snapper is supposed to use. Try # snapper -c home create # snapper -c Video create Thanks, that was it. I would have expected an Error-Message