xfs
[Top] [All Lists]

Re: Does XFS support sharing blocks?

To: Bogdan <bogdandr@xxxxx>
Subject: Re: Does XFS support sharing blocks?
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 12 Jun 2008 15:16:15 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <485157D2.5050906@op.pl>
References: <485157D2.5050906@op.pl>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
Bogdan wrote:
>   Hello.
> 
>   I have a question: does the XFS filesystem support sharing blocks 
> between objects (files, symlinks, fifos, ...). I mean, can 2 distinct 
> objects have their data inside one physical block? If not, what is the 
> "offset" field for in xfs_db output:
> 
> xfs_db> inode 19331
> xfs_db> bmap -d
> data offset 0 startblock 1212 (0/1212) count 1 flag 0

it's simply the block number in the file.

You have a 1 block file, it's first (and only) block is at physical
block 1212 (block 1212 in AG 0)

-Eric


<Prev in Thread] Current Thread [Next in Thread>