From: Brantley Coile <brantley@coraid.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] truncation via wstat on ken's fs
Date: Sun, 17 Oct 2004 07:18:59 -0400 [thread overview]
Message-ID: <b5e24510f664afcd5b10c0c6fec41487@coraid.com> (raw)
In-Reply-To: <f5bbaa3d61cddff0ebce8441ed44744f@collyer.net>
> Changing the length is easy, but giving back the no-longer-needed
> blocks is messy, involving a recursive walk of the indirect blocks.
> I'm tempted to just change the length, which gives the desired
> user-visible effect, unless the side-effect of freeing the
> unneeded storage is important to someone.
Leaving the blocks there was the first thing I thought of.
They will get reclaimed when the file is deleted anyway.
Seems like a good idea to me.
next prev parent reply other threads:[~2004-10-17 11:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-17 11:05 geoff
2004-10-17 11:18 ` Brantley Coile [this message]
2004-10-17 17:01 ` Russ Cox
2004-10-18 0:43 ` geoff
2004-10-18 8:03 ` Charles Forsyth
2004-10-18 8:24 ` geoff
2004-10-18 8:36 ` Charles Forsyth
2004-10-18 8:38 ` geoff
2004-10-17 17:35 ` boyd, rounin
2004-10-17 13:19 Aharon Robbins
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=b5e24510f664afcd5b10c0c6fec41487@coraid.com \
--to=brantley@coraid.com \
--cc=9fans@cse.psu.edu \
/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).