login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
1
Re: [PATCH] UBIFS: fill f_fsid
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Christoph Hellwig
Subject:
Re: [PATCH] UBIFS: fill f_fsid
Date: Monday, September 1, 2008 - 8:01 am
On Mon, Sep 01, 2008 at 10:43:07AM +0100, David Woodhouse wrote:
quoted text
> On Sun, 2008-08-31 at 17:52 +0300, Artem Bityutskiy wrote: > > From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> > > > > UBIFS stores 16-bit UUID in the superblock, and it is a good > > idea to return part of it in 'f_fsid' filed of kstatfs structure. > > I think you mean a 16-byte UUID, not 16-bit? > > > + memcpy(&buf->f_fsid, c->uuid, sizeof(__kernel_fsid_t)); > > For btrfs I xor the first 64 bits with the second 64 bits, and put > _that_ into f_fsid. You're just putting the first 64 bits in and > ignoring the second 64 bits. Neither is really _better_ than the other; > you just alter the circumstances in which you get collisions. But I > suppose we might as well be consistent about how we do it?
XFS just puts in the st_dev. And I can't realy find any useful defintion of what it's supposed to b anyway.. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: UBIFS updates for 2.6.27
, Artem Bityutskiy
, (Sun Aug 31, 7:32 am)
UBIFS updates for 2.6.27
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: fix zero-length truncations
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: always read hashed-key nodes under TNC mutex
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: allow for racing between GC and TNC
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: do not update min_idx_lebs in stafs
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: push empty flash hack down
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: remove incorrect index space check
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: improve statfs reporting
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: fix assertion
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: add forgotten gc_idx_lebs component
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: introduce LEB overhead
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: improve statfs reporting even more
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
[PATCH] UBIFS: fill f_fsid
, Artem Bityutskiy
, (Sun Aug 31, 7:52 am)
Re: [PATCH] UBIFS: fill f_fsid
, David Woodhouse
, (Mon Sep 1, 2:43 am)
Re: [PATCH] UBIFS: fill f_fsid
, Artem Bityutskiy
, (Mon Sep 1, 4:16 am)
Re: [PATCH] UBIFS: fill f_fsid
, David Woodhouse
, (Mon Sep 1, 4:28 am)
Re: [PATCH] UBIFS: fill f_fsid
, Artem Bityutskiy
, (Mon Sep 1, 4:43 am)
Re: [PATCH] UBIFS: fill f_fsid
, David Woodhouse
, (Mon Sep 1, 4:50 am)
Re: [PATCH] UBIFS: fill f_fsid
, Artem Bityutskiy
, (Mon Sep 1, 4:56 am)
Re: [PATCH] UBIFS: fill f_fsid
, Christoph Hellwig
, (Mon Sep 1, 8:01 am)
Re: [PATCH] UBIFS: fill f_fsid
, Artem Bityutskiy
, (Tue Sep 2, 12:03 am)
Re: [PATCH] UBIFS: fill f_fsid
, Andreas Dilger
, (Tue Sep 2, 10:09 am)
Re: [PATCH] UBIFS: fill f_fsid
, David Woodhouse
, (Tue Sep 2, 10:29 am)
Re: [PATCH] UBIFS: fill f_fsid
, Andreas Dilger
, (Tue Sep 2, 12:13 pm)
Re: [PATCH] UBIFS: fill f_fsid
, David Woodhouse
, (Tue Sep 2, 12:32 pm)
Re: [PATCH] UBIFS: fill f_fsid
, Christoph Hellwig
, (Tue Sep 2, 2:02 pm)
Re: [PATCH] UBIFS: fill f_fsid
, David Woodhouse
, (Tue Sep 2, 2:26 pm)
Re: [PATCH] UBIFS: fill f_fsid
, Christoph Hellwig
, (Tue Sep 2, 2:48 pm)
Re: [PATCH] UBIFS: fill f_fsid
, David Woodhouse
, (Tue Sep 2, 3:12 pm)
Re: [PATCH] UBIFS: fill f_fsid
, David Woodhouse
, (Tue Sep 2, 3:32 pm)
Re: [PATCH] UBIFS: fill f_fsid
, Artem Bityutskiy
, (Tue Sep 2, 11:20 pm)
Re: [PATCH] UBIFS: fill f_fsid
, Artem Bityutskiy
, (Wed Sep 3, 2:44 am)
Re: [PATCH] UBIFS: fill f_fsid
, David Woodhouse
, (Wed Sep 3, 3:14 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
Re: [bug] SLUB + mm/slab.c boot crash in -rc9
Grant Grundler
Re: [patch] e1000=y && e1000e=m regression fix (was: Re: [regression] e100...
Jörn
Re: [00/41] Large Blocksize Support V7 (adds memmap support)
Jeremy Fitzhardinge
Re: [2.6.25] compat VDSO option not disabling
Rafael J. Wysocki
[Bug #11551] Semi-repeatable hard lockup on 2.6.27-rc6
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Frans Pop
'git gc --aggressive' effectively unusable
Stephan Beyer
Re: git sequencer prototype
Lynn Lin
Re: clearcase migration to git
Johannes Schindelin
Re: [PATCH 2/3] unpack-trees: fix path search bug in verify_absent
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
David Woodhouse
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Sage Weil
Re: [2/3] POHMELFS: Documentation.
openbsd-misc
:
nixlists
Re: Which laptops do the developers use?
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Nick Holland
Re: Upgrade 4.1->4.2->4.3
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Siju George
Re: Blocking Teamviewer
git-commits-head
:
Linux Kernel Mailing List
sparc64: Fix sun4u execute bit check in TSB I-TLB load.
Linux Kernel Mailing List
init: Open /dev/console from rootfs
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
x86 boot: only pick up additional EFI memmap if add_efi_memmap flag
Linux Kernel Mailing List
udp: fix for unicast RX path optimization
Colocation donated by:
Syndicate