mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robin Holt <holt@sgi.com>
To: linux-os@analogic.com
Cc: Norbert van Nobelen <Norbert@edusupport.nl>,
	Robin Holt <holt@sgi.com>,
	Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: 21 million inodes is causing severe pauses.
Date: Mon, 15 Nov 2004 15:31:39 -0600	[thread overview]
Message-ID: <20041115213139.GA14258@lnx-holt.americas.sgi.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0411151549060.22810@chaos.analogic.com>

On Mon, Nov 15, 2004 at 03:57:44PM -0500, linux-os wrote:
> 
> Another temporary fix is to do:
> 
> while true ; do sleep 5 ; sync ; done

I don't think we are looking at a flushing buffers to disk problem.
Even after doing a sync, I see 1.3M entries.  Before the sync, I
was at 1.2M, so the count went up during the sync.

I am specifically noticing problems with the inode_list and not
buffers.

> 
> ... or some 'C' code equivalent to force most of the stuff to
> disk before it takes so much time that it's obvious to the
> users.
> 
> If you have soooo much data buffered, it is going to take a
> verrrry long time to write it to disk so. Just write it before
> you have so much buffered!

This is already being done.  Nearly all of the inodes have
buffers that are expired and have been pushed to disk.

> 
> NULL pointer problems shouldn't happen. However, you don't say
> if its a kernel crash problem or a user-mode problem. If it's
> a user-mode problem, the possibility exists that somebody isn't
> properly checking the return value of read/write, etc. If EIO
> (from attempting to modify an inode) was return in errno, you
> get -1 in the return value, it that's used as an index into the
> next bunch of data, you are dorked.

Kernel null pointer dereference in remove_inode_buffers().

Thanks,
Robin

  reply	other threads:[~2004-11-15 21:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 19:55 Robin Holt
2004-11-15 20:35 ` Norbert van Nobelen
2004-11-15 20:51   ` Robin Holt
2004-11-15 20:57   ` linux-os
2004-11-15 21:31     ` Robin Holt [this message]
2004-11-15 22:57 ` Andrew Morton
2004-11-16 16:28   ` Robin Holt
2004-11-16 19:13     ` Andrew Morton
2004-11-16 19:48       ` Robin Holt
2004-11-17  0:33         ` Andrew Morton
2004-11-17  0:54           ` Robin Holt
2004-11-17  1:05             ` Andrew Morton
2004-11-16 16:32   ` Robin Holt
2004-11-16 19:15     ` Andrew Morton

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=20041115213139.GA14258@lnx-holt.americas.sgi.com \
    --to=holt@sgi.com \
    --cc=Norbert@edusupport.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-os@analogic.com \
    /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 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®