* inode_cache
@ 2012-10-14 11:24 Swâmi Petaramesh
2012-10-24 9:58 ` inode_cache Alex Lyakas
0 siblings, 1 reply; 2+ messages in thread
From: Swâmi Petaramesh @ 2012-10-14 11:24 UTC (permalink / raw)
To: BTRFS, Linux
Hi there,
On a performance standpoint - and on Ubuntu Quantall kernel 3.5.0-17 -
is it advisable to mount BTRFS with "inode_cache" ?
Is there any risk or counterpart doing so ?
TIA, kind regards.
--
Swâmi Petaramesh <swami@petaramesh.org> http://petaramesh.org PGP 9076E32E
Ne cherchez pas : Je ne suis pas sur Facebook.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: inode_cache
2012-10-14 11:24 inode_cache Swâmi Petaramesh
@ 2012-10-24 9:58 ` Alex Lyakas
0 siblings, 0 replies; 2+ messages in thread
From: Alex Lyakas @ 2012-10-24 9:58 UTC (permalink / raw)
To: Swâmi Petaramesh; +Cc: BTRFS, Linux
Swami,
I believe the only thing that "inode_cache" mount option does is
allowing to reuse inode numbers. Like if you had a file with inode
number=X and you delete this file, then you will never have inode=X in
the same file tree (subvolume) again. You can look at
btrfs_find_free_ino() that allocates an inode number to understand
this better. Since inode number is u64, it is perhaps unlikely that
you ever run out of inode numbers. But still this mount option is
present and implemented, so perhaps there is some reason for that.
You can also look at "Free space cache writeback issue" note from Jan
on the list; looks like he discovered some issue with that option.
Alex.
On Sun, Oct 14, 2012 at 1:24 PM, Swâmi Petaramesh <swami@petaramesh.org> wrote:
> Hi there,
>
> On a performance standpoint - and on Ubuntu Quantall kernel 3.5.0-17 -
> is it advisable to mount BTRFS with "inode_cache" ?
>
> Is there any risk or counterpart doing so ?
>
> TIA, kind regards.
>
> --
> Swāmi Petaramesh <swami@petaramesh.org> http://petaramesh.org PGP 9076E32E
> Ne cherchez pas : Je ne suis pas sur Facebook.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-24 9:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-14 11:24 inode_cache Swâmi Petaramesh
2012-10-24 9:58 ` inode_cache Alex Lyakas
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).