-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 12/11/2013 09:26 PM, Jan Kara wrote:
> Thanks! So this works more or less as expected - trinity issued a
> read at absurdly high offset so we created pagecache page a that
> offset and tried to read data into it. That failed. We left the
> page in the pagecache where it was for reclaim to reclaim it when
> free pages are needed. Everything works as designed except we could
> possibly argue that it's not the most efficient way to use
> pages...
>
> Patch 'vfs: fix a bug when we do some dio reads with append dio
> writes' (http://www.spinics.net/lists/linux-fsdevel/msg70899.html)
> should actually change the situation and we won't unnecessarily
> cache these pages.
>
confirmed - applied to latest git tree of Linus I helps.
- --
MfG/Sincerely
Toralf Förster
pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlKq2NQACgkQxOrN3gB26U5LJgD/f0jU9NXrgVw7UthV613FrCMX
zUTRpvoNy8oKgpyiejwA/R2oVVwYXhKTcs0XHstQ9w3mjBcjp9t2ub2GAWa8hDnb
=KAh4
-----END PGP SIGNATURE-----

On Fri, Dec 13, 2013 at 10:52 AM, Toralf Förster <toralf.foerster@...> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 12/11/2013 09:26 PM, Jan Kara wrote:
>> Thanks! So this works more or less as expected - trinity issued a
>> read at absurdly high offset so we created pagecache page a that
>> offset and tried to read data into it. That failed. We left the
>> page in the pagecache where it was for reclaim to reclaim it when
>> free pages are needed. Everything works as designed except we could
>> possibly argue that it's not the most efficient way to use
>> pages...
>>
>> Patch 'vfs: fix a bug when we do some dio reads with append dio
>> writes' (http://www.spinics.net/lists/linux-fsdevel/msg70899.html)
>> should actually change the situation and we won't unnecessarily
>> cache these pages.
>>
> confirmed - applied to latest git tree of Linus I helps.
Good to know! :-)
--
Thanks,
//richard