xfs
[Top] [All Lists]

Re: Question on migrating data between PVs in xfs

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Question on migrating data between PVs in xfs
From: Wei Lin <lin.wei15@xxxxxxxxxxxxxx>
Date: Thu, 11 Aug 2016 10:04:09 +0100
Cc: Wei Lin <lin.wei15@xxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=imperial.ac.uk; s=main01; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date; bh=ZLTY6DKaLNwpv84OcWYm8vMpZB7x5EwKCkCJwMdahZw=; b=Vh73fhPpU4CUO+gMWcogzNdhQB IX/UEP/Xo+ah6KhhLK+kynNraz7Vkrjgsd1GLxgRG8ZAvGwO1mWP3QX/unSOaJfF78q9cPlwh1oN1 ffG5aoodh+12bGMUOc1txQHe9TmunyREzZqtiY2qJDwnZKolTPGSnLNxX3u1GKilvKUE=;
In-reply-to: <20160810105639.GR16044@dastard>
References: <20160809145046.GB5583@ic> <20160809223503.GJ19025@dastard> <20160810092313.GA16193@ic> <20160810105639.GR16044@dastard>
User-agent: Mutt/1.6.2 (2016-07-01)
Hi Dave,

Now I see your point. Initially I wanted to store the linear concat
layout in a special file, read this file during allocation to compute on
the fly if an extent falls into a physical volume. But now I do agree
that from the perspective of OS engineering, filesystems should not know
the underlying layout, at least not in such an "ad-hoc" way. Aligning
AGs to physical volumes and applying allocation policy might be the best
approach.

Thank you very much for the help.

Cheers,
-- 
Wei Lin

<Prev in Thread] Current Thread [Next in Thread>