Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Preventing FS full
Date: Thu, 28 Oct 2010 17:52:10 +0300	[thread overview]
Message-ID: <1288277530.2083.56.camel@localhost> (raw)
In-Reply-To: <OF2C2A2D93.9DE54A3F-ONC12577CA.004EC5B1-C12577CA.004F2498@transmode.se>

On Thu, 2010-10-28 at 16:24 +0200, Joakim Tjernlund wrote:
> Is there any way to temporarily lower the FS full limit(preferably on a process basis)
> on JFFS2?
> 
> I want to safeguard the OS from FS full due to some process filling up the disk.

Mainstream FSes like ext3 can limit this on per-user or per-group basis,
and we had a similar thing for JFFS2, do not remember if we upstreamed
this, though. But I did send patches to the mtd ML.

FS has not idea about processes - the information about them is not
stored on the media, and it is very dynamic and unpredictable. I think
it is disaster to try to limit anything in the FS on per-process basis,
just makes little sense for me.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

  parent reply	other threads:[~2010-10-28 14:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 14:24 Preventing FS full Joakim Tjernlund
2010-10-28 14:39 ` David Woodhouse
2010-10-28 15:31   ` Joakim Tjernlund
2010-10-28 21:34     ` David Woodhouse
2010-10-28 14:52 ` Artem Bityutskiy [this message]
2010-10-28 14:54   ` Artem Bityutskiy

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=1288277530.2083.56.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=joakim.tjernlund@transmode.se \
    --cc=linux-mtd@lists.infradead.org \
    /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