linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Antonov <saproj@gmail.com>
To: Hin-Tak Leung <htl10@users.sourceforge.net>
Cc: "linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
	stable@vger.kernel.org, Joe Perches <joe@perches.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Vyacheslav Dubeyko <slava@dubeyko.com>,
	Anton Altaparmakov <aia21@cam.ac.uk>,
	Al Viro <viro@zeniv.linux.org.uk>,
	Christoph Hellwig <hch@infradead.org>
Subject: Re: [PATCH 2.6 to 4.0] hfsplus: fix B-tree corruption after insertion at position 0
Date: Thu, 19 Mar 2015 00:05:32 +0100	[thread overview]
Message-ID: <CABikg9x6sqvGPs7aPqgesyy3VxF20A-zULoz2iK-7wS0FqYdwQ@mail.gmail.com> (raw)
In-Reply-To: <1426692505.88311.YahooMailBasic@web172305.mail.ir2.yahoo.com>

On 18 March 2015 at 16:28, Hin-Tak Leung <htl10@users.sourceforge.net> wrote:
> Can you describe a bit more about the symptom please?

Some files and directories are gone. Depending on which of the catalog
file's nodes reside in the unavailable extents, it may vary from "some
data can be salvaged" to "screw it, reformat the volume".

> I am
> wondering whether it is related to an issue I have had which is quite reproducible:
> If I merely run "du" repeatedly on a large directory on an HFS+ formatted
> drive, on a somewhat resource-tight system (having firefox running with lots
> windows seems to make it happens sooner, and it was on a system with only 2GB memory).

Then what?

> I was able to do with with two separate drives, one had user data
> which I have edited by hand somewhat,
> but the other was was a qcow2 image of an essentially newly installed and clean
> Mac OS X system disk through qemu/kvm.

> Also, the logic of hfs_brec_insert() in the plain hfs (without +) driver in
> fs/hfs/brec.c is essentially the same, so I believe there is the need of another
> similiar patch for that also. Can you provide that also?

No. The original HFS is very old. The only reasonable purpose of its
implementation in Linux IMO is to read data from old disks. Read-only
mode that is.

       reply	other threads:[~2015-03-18 23:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1426692505.88311.YahooMailBasic@web172305.mail.ir2.yahoo.com>
2015-03-18 23:05 ` Sergei Antonov [this message]
     [not found] <1426786824.70252.YahooMailBasic@web172303.mail.ir2.yahoo.com>
2015-03-26  2:06 ` [PATCH 2.6 to 4.0] hfsplus: fix B-tree corruption after insertion at position 0 Sergei Antonov
2015-06-08 13:30 ` Sergei Antonov
2015-03-17  2:10 Sergei Antonov
2015-03-17 16:50 ` Viacheslav Dubeyko

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=CABikg9x6sqvGPs7aPqgesyy3VxF20A-zULoz2iK-7wS0FqYdwQ@mail.gmail.com \
    --to=saproj@gmail.com \
    --cc=aia21@cam.ac.uk \
    --cc=akpm@linux-foundation.org \
    --cc=hch@infradead.org \
    --cc=htl10@users.sourceforge.net \
    --cc=joe@perches.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=slava@dubeyko.com \
    --cc=stable@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /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).