linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ian Gordon <ian.gordon@strath.ac.uk>
To: linux-btrfs@vger.kernel.org
Subject: btrfs-transacti causing IO problem to btrfs
Date: Wed, 25 Mar 2015 08:29:18 +0000	[thread overview]
Message-ID: <551271DE.9020609@strath.ac.uk> (raw)


Hello,

I have a btrfs filesystem which has been working ok for about 90days,
but on Monday it become very slow (takes about 6hours to rsync backup a
3GB Ubuntu server - despite minimal changes from previous backup). I
noticed, that even with no processes reading or writing to the
filesystem, that btrfs-transaci was writing to the disk (averaging at
about 5MB/s) for a few hours before stopping until I wrote to the
filesystem again and then the process would repeat.

The btrfs filesystem uses skinny-metadata and is mounted with relatime
It has 744 subvolumes (of which about 700 are readonly snapshots)

Any ideas? Is there some sort of cleanup getting automatically run in
the background?

 * Linux hutton-cis.cc.strath.ac.uk 3.16.0-30-generic #40~14.04.1-Ubuntu
SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
 * Btrfs v3.12
 * Label: none  uuid: a3e49694-a66d-4c0d-b5bd-d2b7ced68535
	Total devices 1 FS bytes used 4.59TiB
	devid    1 size 8.76TiB used 4.77TiB path /dev/dm-0
 * Data, single: total=4.41TiB, used=4.41TiB
   System, DUP: total=8.00MiB, used=544.00KiB
   System, single: total=4.00MiB, used=0.00
   Metadata, DUP: total=186.00GiB, used=184.17GiB
   Metadata, single: total=8.00MiB, used=0.00
   unknown, single: total=512.00MiB, used=16.30MiB
 * There is nothing logged in dmesg except for the standard boot
   messages

Thanks for any help anyone can be,

-- 
Ian Gordon,
Department of Computer and Information Sciences,
University of Strathclyde.
Tel: 0141 548 3592    Fax: 0141 548 4523        Room: LT1307
The University of Strathclyde is a charitable body, registered in
Scotland, with registration number SC015263.

             reply	other threads:[~2015-03-25  9:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25  8:29 Ian Gordon [this message]
2015-03-25  9:38 ` btrfs-transacti causing IO problem to btrfs (skinny-metadata?) Martin
2015-03-27  0:21   ` Martin

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=551271DE.9020609@strath.ac.uk \
    --to=ian.gordon@strath.ac.uk \
    --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 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).