linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: fallocate fail on btrfs
Date: Thu, 28 Aug 2014 20:10:54 +0000 (UTC)	[thread overview]
Message-ID: <pan$5a8b4$82e4440a$7d2e1fad$aa69a9b3@cox.net> (raw)
In-Reply-To: CADw2B2Nr56D7_RKSpEOybDFMNr=g_9nZvOFdcYjgN+FaiQyx=w@mail.gmail.com

G. Richard Bellamy posted on Thu, 28 Aug 2014 07:48:04 -0700 as excerpted:

> School is in again... and my goodness I learned a lot in this go-around.

Don't worry, I did too. =:^)  I consider myself an admin (as I believe 
everyone should who administrates their own systems, it's a big 
responsibility!) not a coder, and tho I can and do read/modify/create an 
occasional patch, I don't claim to do C/C++ code either.  So I rarely 
actually look at sources.

But I'm finding more sources make sense when I do, and Holger's post 
along with your straces was enough to get me digging in to see what's 
actually going on here, and that was quite enlightening on its own.  
Besides looking at code and actually finding I could make sense of it, I 
now understand a bit more of the dynamics of file size vs allocated 
size.  I had no idea it was possible to fallocate beyond EOF like that, 
and simply reading the manpage wouldn't have gotten the point across 
NEARLY as well as actually seeing the change in ls -s, contrasted with 
the file size itself staying the same, as it did here.  That's some 
potentially rather useful information I have safely tucked under my belt 
for future interpretation of "strange" filesize results, now, and it's 
all due to your posts along with Holger's reply, stimulating my own 
investigation. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


      reply	other threads:[~2014-08-28 20:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27  5:05 fallocate fail on btrfs G. Richard Bellamy
2014-08-27  6:39 ` Duncan
2014-08-27 17:39   ` G. Richard Bellamy
2014-08-27 22:39     ` G. Richard Bellamy
2014-08-27 22:51       ` G. Richard Bellamy
2014-08-27 22:58         ` G. Richard Bellamy
2014-08-27 23:33           ` Holger Hoffstätte
2014-08-28  9:12             ` Duncan
2014-08-28 14:48               ` G. Richard Bellamy
2014-08-28 20:10                 ` Duncan [this message]

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='pan$5a8b4$82e4440a$7d2e1fad$aa69a9b3@cox.net' \
    --to=1i5t5.duncan@cox.net \
    --cc=linux-btrfs@vger.kernel.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).