* Re: [Patch 0/4] RFC : Support for data gradation of a single file.
[not found] <CAExFE6n2npo8Uomk=bNYnC4CVL9aWQDMRdOeav0vAdce1prNMQ@mail.gmail.com>
@ 2018-04-06 21:31 ` Andreas Dilger
0 siblings, 0 replies; only message in thread
From: Andreas Dilger @ 2018-04-06 21:31 UTC (permalink / raw)
To: Sayan Ghosh
Cc: Ext4 Developers List, Linux FS Devel, Bhattacharya, Suparna,
niloy ganguly, Madhumita Mallick, Linux Kernel Mailing List,
Bharde, Madhumita, Jens Axboe
[-- Attachment #1: Type: text/plain, Size: 2322 bytes --]
On Apr 6, 2018, at 5:41 AM, Sayan Ghosh <sgdgp.2014@gmail.com> wrote:
>
> Hi all,
>
> The following series of patches aim to store a file with a graded
> information. Consider a scenario of video indexing for learning
> programme where some of the portions of the video is annotated and
> important than other portions, hence to be accessed more often. We
> consider the similar scenario where we have a file along with a grade
> information that mentions which blocks are important and which are
> not. The grades we consider are binary with 1 denoting high grade.
> Now the file is stored in a LVM which comprises of different set of
> storage devices belong to different tiers (as ext4 doesn’t support
> spanning over multiple block driver), - one combination could be
> persistent memory and hard-disk. The target is to store the higher
> graded blocks in the higher performance tier and the lower graded
> blocks in the lower performance tier.
> Consider a C code where the grade of the file blocks are being set in
> the user space through extended attribute. The grade structure stores
> the span of different high graded segments in the file with starting
> high grade block numbers and the span length of the segments. We
> assume grade of rest of the blocks as 0 (low).
There was a considerable amount of work and discussion on implementing
Stream IDs for the block layer. This would annotate writes from userspace
and allow the underlying storage (filesystem and block layer) to use the
stream ID for block allocation. See the following for more details:
https://lwn.net/Articles/717755/
https://lwn.net/Articles/726477/
http://lists.infradead.org/pipermail/linux-nvme/2017-June/011322.html
In the absence of other information, the Stream ID would just mean "group
allocations with the same ID together". After some discussion, it looks
like the latest patch has generic "lifetime" hints rather than "stream IDs",
but the end result is largely the same.
It would make sense for you to spend time testing and fixing that patch
series instead of trying to introduce a new interface. IMHO, there is
no need to make these hints persistent on disk, since their state could
be inferred by the allocation placement directly.
Cheers, Andreas
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 873 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-06 21:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAExFE6n2npo8Uomk=bNYnC4CVL9aWQDMRdOeav0vAdce1prNMQ@mail.gmail.com>
2018-04-06 21:31 ` [Patch 0/4] RFC : Support for data gradation of a single file Andreas Dilger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®