All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <mason@suse.com>
To: Oleg Drokin <green@namesys.com>
Cc: Nick Burrett <nick@dsvr.net>, reiserfs-list@namesys.com
Subject: Re: symlink has wrong sd_blocks count
Date: 18 Feb 2003 08:41:47 -0500	[thread overview]
Message-ID: <1045575706.16046.0.camel@tiny.suse.com> (raw)
In-Reply-To: <20030218163719.A15406@namesys.com>

On Tue, 2003-02-18 at 08:37, Oleg Drokin wrote:
> > The quota code can have special checks for symlinks, but the sd_block
> > accounting is somewhat complex, and I've been hesitant to make it even
> > more so with the symlink checks.
> 
> Symlinks are counted the same way as directories.
> If you round up directory size to 512 bytes, same can be done with symlinks.
> But as I see it in quota (generic quota) code, the extra "i_bytes" are always
> being rounded up to blocksize. And that what's causing a problem.

Right, it should be possible.  I'm just finishing testing on the latest
batch of quota code, so I'll work it in.

-chris



  reply	other threads:[~2003-02-18 13:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-18 10:53 symlink has wrong sd_blocks count Nick Burrett
2003-02-18 11:42 ` Oleg Drokin
2003-02-18 12:56   ` Chris Mason
2003-02-18 13:37     ` Oleg Drokin
2003-02-18 13:41       ` Chris Mason [this message]
2003-02-18 13:43         ` Oleg Drokin

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=1045575706.16046.0.camel@tiny.suse.com \
    --to=mason@suse.com \
    --cc=green@namesys.com \
    --cc=nick@dsvr.net \
    --cc=reiserfs-list@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.