linux-nilfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Reinoud Zandijk <reinoud-qavaossjCcEdnm+yROfE0A@public.gmane.org>
To: dexen deVries <dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Problem report: cannot run nilfs_cleanerd on full filesystem
Date: Sun, 20 Mar 2011 13:50:40 +0100	[thread overview]
Message-ID: <20110320125040.GA735@heethoofdje.13thmonkey.org> (raw)
In-Reply-To: <201103192312.38046.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Sat, Mar 19, 2011 at 11:12:37PM +0100, dexen deVries wrote:
> Hi,
> 
> On Saturday 19 of March 2011 23:01:57 you wrote:
> > BSD traditionally save some inodes/blocks for the superuser. Maybe some
> > blocks could be reserved for the nilfs_cleanerd to work with? even if only
> > a few? Depending on the uid/guid of the program?
> 
> As for reserved blocks, that's an ugly solution IMHO.

It is, but its also a service to `root'. It gives a rooted user the
possibility to use > 100% of reported disc space thus enabling him to clean up
stuff, move stuff around and making more free space. It may not be the best
solution but at least `root' is able to fix problems on a full disc!

> And so is delete-proofing the on-disk `.nilfs' file. But perhaps the
> `.nilfs' could be made a virtual file, maintained by the NILFS2 driver
> rather than a plain on-disk object?  You are right about the `.nilfs'.

The problem with looking up /mnt/ is that it (might) return the node /mnt on
the root FS and not the NiLFS root `/mnt/.' . I don't know how linux handles
such cases but if `/mnt/.' does return the NiLFS root node then why not let
NiLFS use that node instead of the /mnt/.nilfs node?

So IMHO the .nilfs file is a hack in itself :-D

With regards,
Reinoud

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-03-20 12:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-19 16:37 Problem report: cannot run nilfs_cleanerd on full filesystem dexen deVries
     [not found] ` <201103191738.00187.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-19 22:01   ` Reinoud Zandijk
     [not found]     ` <20110319220157.GA681-bVHBekiX4bNgoMqBc1r0ESegHCQxtGRMHZ5vskTnxNA@public.gmane.org>
2011-03-19 22:12       ` dexen deVries
     [not found]         ` <201103192312.38046.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-20 12:50           ` Reinoud Zandijk [this message]
     [not found]             ` <20110320125040.GA735-bVHBekiX4bNgoMqBc1r0ESegHCQxtGRMHZ5vskTnxNA@public.gmane.org>
2011-03-21 11:07               ` Ryusuke Konishi
     [not found]                 ` <20110321.200706.260176646.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-03-21 12:00                   ` dexen deVries
     [not found]                     ` <201103211300.50177.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-21 15:07                       ` Ryusuke Konishi
     [not found]                         ` <20110322.000702.112911778.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-03-21 15:30                           ` Ryusuke Konishi
2011-03-21 12:05                   ` dexen deVries
     [not found]                     ` <201103211305.48353.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-03-21 15:17                       ` Ryusuke Konishi
2011-03-21 13:01                   ` Reinoud Zandijk
     [not found]                     ` <20110321130151.GA29111-bVHBekiX4bNgoMqBc1r0ESegHCQxtGRMHZ5vskTnxNA@public.gmane.org>
2011-03-23  7:51                       ` Reinoud Zandijk

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=20110320125040.GA735@heethoofdje.13thmonkey.org \
    --to=reinoud-qavaossjccednm+yrofe0a@public.gmane.org \
    --cc=dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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;
as well as URLs for NNTP newsgroup(s).