linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomasz Torcz <tomek@pipebreaker.pl>
To: "Sergey E. Kolesnikov" <rockingdemon@gmail.com>
Subject: Re: trim malfunction in linux 3.3.6
Date: Thu, 17 May 2012 20:31:20 +0200	[thread overview]
Message-ID: <20120517183120.GC24598@mother.jarsat.pl> (raw)
In-Reply-To: <4FB522EC.50305@gmail.com>

On Thu, May 17, 2012 at 08:10:20PM +0400, Sergey E. Kolesnikov wrote:
> Hello.
> I've been running Ubuntu 12.04 kernel and btrfs on two partitions of
> two GPT partitioned SSDs. Rootfs was btrfs subvol "@" and homes were
> at "@home". When I was batch trimming with "fstrim /" using Ubuntu's
> standard kernel 3.2.0 - everything was fine. Then I compiled vanilla
> 3.3.6 kernel ad tried to fstrim again, fs got severely damaged.
> 
> It seems that batch trim miscalculates ranges and trims some
> occupied space. Can't say if GPT or other partitioning details
> matter.
 
  The issue was apparently fixed in 3.4-rc2:
http://lkml.indiana.edu/hypermail/linux/kernel/1204.1/00340.html

-- 
Tomasz Torcz                        To co nierealne -- tutaj jest normalne.
xmpp: zdzichubg@chrome.pl          Ziomale na życie mają tu patenty specjalne.


  reply	other threads:[~2012-05-18  6:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17 16:10 trim malfunction in linux 3.3.6 Sergey E. Kolesnikov
2012-05-17 18:31 ` Tomasz Torcz [this message]
2012-05-18  3:43 ` Liu Bo
2012-05-18 17:57   ` Sergey Kolesnikov

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=20120517183120.GC24598@mother.jarsat.pl \
    --to=tomek@pipebreaker.pl \
    --cc=rockingdemon@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).