All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Toralf Förster" <toralf.foerster@gmx.de>
To: Jan Kara <jack@suse.cz>
Cc: UML devel <user-mode-linux-devel@lists.sourceforge.net>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	linux-mm@kvack.org
Subject: Re: why does index in truncate_inode_pages_range() grows so much ?
Date: Fri, 13 Dec 2013 10:52:20 +0100	[thread overview]
Message-ID: <52AAD8D4.2060807@gmx.de> (raw)
In-Reply-To: <20131211202639.GE1163@quack.suse.cz>

-----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-----

WARNING: multiple messages have this Message-ID (diff)
From: "Toralf Förster" <toralf.foerster@gmx.de>
To: Jan Kara <jack@suse.cz>
Cc: UML devel <user-mode-linux-devel@lists.sourceforge.net>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	linux-mm@kvack.org
Subject: Re: why does index in truncate_inode_pages_range() grows so much ?
Date: Fri, 13 Dec 2013 10:52:20 +0100	[thread overview]
Message-ID: <52AAD8D4.2060807@gmx.de> (raw)
In-Reply-To: <20131211202639.GE1163@quack.suse.cz>

-----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 FA?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-----

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: "Toralf Förster" <toralf.foerster@gmx.de>
To: Jan Kara <jack@suse.cz>
Cc: UML devel <user-mode-linux-devel@lists.sourceforge.net>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	linux-mm@kvack.org
Subject: Re: why does index in truncate_inode_pages_range() grows so much ?
Date: Fri, 13 Dec 2013 10:52:20 +0100	[thread overview]
Message-ID: <52AAD8D4.2060807@gmx.de> (raw)
In-Reply-To: <20131211202639.GE1163@quack.suse.cz>

-----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-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


  reply	other threads:[~2013-12-13  9:52 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-24 15:14 why does index in truncate_inode_pages_range() grows so much ? Toralf Förster
2013-11-24 15:14 ` [uml-devel] " Toralf Förster
2013-11-25 13:55 ` stian
2013-12-03 14:02 ` Jan Kara
2013-12-03 14:02   ` Jan Kara
2013-12-03 19:43   ` Toralf Förster
2013-12-03 19:43     ` Toralf Förster
2013-12-03 23:00     ` Jan Kara
2013-12-03 23:00       ` Jan Kara
2013-12-03 23:00       ` Jan Kara
2013-12-04 13:06       ` Jan Kara
2013-12-04 13:06         ` [uml-devel] " Jan Kara
2013-12-04 13:06         ` Jan Kara
2013-12-07 18:06         ` Toralf Förster
2013-12-07 18:06           ` Toralf Förster
2013-12-07 18:06           ` Toralf Förster
2013-12-11 20:26           ` Jan Kara
2013-12-11 20:26             ` [uml-devel] " Jan Kara
2013-12-11 20:26             ` Jan Kara
2013-12-13  9:52             ` Toralf Förster [this message]
2013-12-13  9:52               ` Toralf Förster
2013-12-13  9:52               ` Toralf Förster
2013-12-13 10:51               ` [uml-devel] " Richard Weinberger
2013-12-13 10:51                 ` Richard Weinberger
2013-12-13 10:51                 ` Richard Weinberger
2013-12-13 13:01                 ` Toralf Förster
2013-12-13 13:01                   ` Toralf Förster
2013-12-13 13:01                   ` Toralf Förster
2013-12-13 19:10                   ` Jan Kara
2013-12-13 19:10                     ` Jan Kara
2013-12-13 19:10                     ` Jan Kara
2013-12-05 23:23       ` Toralf Förster
2013-12-05 23:23         ` Toralf Förster
2013-12-05 23:23         ` Toralf Förster

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=52AAD8D4.2060807@gmx.de \
    --to=toralf.foerster@gmx.de \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.