All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <mason@suse.com>
To: Hans Reiser <reiser@namesys.com>
Cc: Vladimir Saveliev <vs@namesys.com>, Jan De Luyck <lkml@kcore.org>,
	reiserfs-list@namesys.com
Subject: Re: [2.4.18]: Reiserfs: vs-2120: add_save_link: insert_item	returned -28
Date: Fri, 16 Jan 2004 08:29:39 -0500	[thread overview]
Message-ID: <1074259779.29546.79.camel@tiny.suse.com> (raw)
In-Reply-To: <4007DF3E.6010307@namesys.com>

On Fri, 2004-01-16 at 07:55, Hans Reiser wrote:

> >At this case we do not return ENOSPC. Operation which failed due to
> >ENOSPC was "save link" insertion. The major operation (unlink or
> >truncate) just continues without "save links". (save link are used to be
> >able to complete removal of unlinked/truncated files on reboot if they
> >did not manage to get properly removed/truncated due to unclean
> >shutdown).

> so it is a real bug which can result in space leaks?

It's a limitation.  The only way around it would be to somehow reserve
the space for the savelink when you create the file.  It's a rare case
and the FS carries on as best it can.

-chris



  reply	other threads:[~2004-01-16 13:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-09 15:22 [2.4.18]: Reiserfs: vs-2120: add_save_link: insert_item returned -28 Jan De Luyck
2004-01-09 17:00 ` Jan De Luyck
2004-01-16  8:17 ` Vladimir Saveliev
2004-01-16  8:48   ` Hans Reiser
2004-01-16  9:11     ` Vladimir Saveliev
2004-01-16 11:29       ` Jan De Luyck
2004-01-16 12:40         ` Hans Reiser
2004-01-16 12:50           ` Vladimir Saveliev
2004-01-16 12:55             ` Hans Reiser
2004-01-16 13:29               ` Chris Mason [this message]
2004-01-16 13:29                 ` Hans Reiser
2004-01-16 15:52     ` Oleg Drokin
2004-01-16 16:19   ` Valdis.Kletnieks
2004-01-16 16:26     ` Vladimir Saveliev

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=1074259779.29546.79.camel@tiny.suse.com \
    --to=mason@suse.com \
    --cc=lkml@kcore.org \
    --cc=reiser@namesys.com \
    --cc=reiserfs-list@namesys.com \
    --cc=vs@namesys.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 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.