mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Linux slack space question
@ 2006-12-08 17:21 Maria Short
  2006-12-08 17:46 ` Bob Copeland
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maria Short @ 2006-12-08 17:21 UTC (permalink / raw)
  To: linux-kernel

I have a question regarding how the Linux kernel handles slack space.
I know that the ext3 filesystems typically use 1,2 or 4 KB blocks and
if a file is not an even multiple of the block size then the last
allocated block will not be completely filled, the remaining space is
wasted as slack space.

What I need is the code in the kernel that does that. I have been
looking at http://lxr.linux.no/source/fs/ext3/inode.c but I could not
find the specific code for partially filling the last block and
placing an EOF at the end, leaving the rest to slack space.

Please forward the answer to mgolod@ieee.org as soon as possible.

Thank you very much.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-12-11 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-08 17:21 Linux slack space question Maria Short
2006-12-08 17:46 ` Bob Copeland
2006-12-08 18:51 ` linux-os (Dick Johnson)
2006-12-11 17:30 ` Erik Mouw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®