All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <jbacik@fusionio.com>
To: Andrea Gelmini <andrea.gelmini@gmail.com>
Cc: Linux BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion `!(ret == -17)' failed
Date: Thu, 6 Jun 2013 21:55:00 -0400	[thread overview]
Message-ID: <20130607015500.GC29248@localhost.localdomain> (raw)
In-Reply-To: <CAK-xaQabh32xjmytaJXZqYicAaZivrPYx-LOSt+kZYc6q18WBQ@mail.gmail.com>

On Thu, Jun 06, 2013 at 07:00:50PM -0600, Andrea Gelmini wrote:
> Hi everybody,
>    and thanks a lot for your support and work.
> 
>    I've an external hard drive formatted with BTRFS that sometimes
> goes readonly (no complains in logs or dmesg output).
> 
>    It happens with kernel v9.4 and latest vanilla kernel in dev, too.
> 
>    If I check it I got (git BTRFS progs):
> 
> ./btrfsck /dev/mapper/toshi
> Checking filesystem on /dev/mapper/toshi
> UUID: 35eb15cd-d7e3-4be8-92f1-7b210353e241
> checking extents
> checking free space cache
> btrfs: unable to add free space :-17
> btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion
> `!(ret == -17)' failed.
>

Can you try my git tree?

git://github.com/josefbacik/btrfs-progs.git

and see if that works better?  Thanks,

Josef 

  reply	other threads:[~2013-06-07  1:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07  1:00 btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion `!(ret == -17)' failed Andrea Gelmini
2013-06-07  1:55 ` Josef Bacik [this message]
2013-06-07  3:11   ` Andrea Gelmini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130607015500.GC29248@localhost.localdomain \
    --to=jbacik@fusionio.com \
    --cc=andrea.gelmini@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.