From: Pedro Macedo <pmacedo@pmacedo.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Profile conversion - unexpected large allocation on target profile during conversion
Date: Thu, 30 May 2024 19:47:43 +0200 [thread overview]
Message-ID: <0d06a11a-a218-4e2d-a035-3711b03caa3c@pmacedo.com> (raw)
In-Reply-To: <4122a35a-a7ba-4deb-8db9-6e67647f53cd@pmacedo.com>
On 2024-05-30 2:36 PM, Pedro Macedo wrote:
> Is this over-allocation during conversion expected or known? This is
> on kernel 6.8.9; I only really noticed this because one of the
> filesystems failed the conversion with ENOSPC even though there should
> be plenty of space. For now I'm working around the ENOSPC issue on the
> smaller array by using a loop with dconvert=raid6,limit=100 followed
> by a 30s sleep.
And to add to the oddness found on this conversion: the workaround now
hit ENOSPC, even though technically it should be possible as I have >4
disks with free space (but only 3 disks with equal amounts of free
space, which I'm guessing is why ENOSPC is being triggered):
Unallocated:
/dev/mapper/evg--1 0.00GiB
/dev/mapper/evg--2 0.00GiB
/dev/mapper/evg--3 0.00GiB
/dev/mapper/evg--4 0.00GiB
/dev/mapper/evg--5 0.43GiB
/dev/mapper/evg--6 51.95GiB
/dev/mapper/evg--7 127.95GiB
/dev/mapper/evg--8 127.95GiB
/dev/mapper/evg--9 127.95GiB
/dev/mapper/evg--10 95.92GiB
/dev/mapper/evg--11 100.95GiB
/dev/mapper/evg--12 105.95GiB
/dev/mapper/evg--13 33.92GiB
/dev/mapper/evg--14 0.00GiB
/dev/mapper/evg--15 0.00GiB
However, if I now run a balance with -dprofiles=single, I can clearly
see data being converted between to raid6 with no errors, which is extra
confusing - different code path being used perhaps?
Thanks,
Pedro Macedo
prev parent reply other threads:[~2024-05-30 17:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-30 12:36 Profile conversion - unexpected large allocation on target profile during conversion Pedro Macedo
2024-05-30 17:47 ` Pedro Macedo [this message]
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=0d06a11a-a218-4e2d-a035-3711b03caa3c@pmacedo.com \
--to=pmacedo@pmacedo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox