2010-06-03 08:21:09

by Dmitry Monakhov

[permalink] [raw]
Subject: write/write/fallocate quota leakage


Attachments:
(No filename) (491.00 B)
falloc_opt.c (1.14 kB)
Download all attachments

2010-06-04 09:03:13

by Aneesh Kumar K.V

[permalink] [raw]
Subject: Re: write/write/fallocate quota leakage

On Thu, 03 Jun 2010 12:21:01 +0400, Dmitry Monakhov <[email protected]> wrote:
> Recently one "write vs fallocate" quota leakage was fixed, but
> not completely. It is still possible if uninitialized extent which
> covers several delay allocated regions converted to initialized one.
>
> Take a look at test-case attached.
> The issue is clear enough, but I don't have a good solution for now.
> Off course we can add one more restriction to zeroout logic, but this is
> unproductive way because we have to keep zeroout logic simple as possible.
>
> Aneesh, do you have any sound ideas?
>

I will have to look at this more closer. Will get back to you.

-aneesh