* U64 Ordering in File System Code of Btrfs
@ 2014-08-28 4:54 nick
2014-08-28 6:12 ` anupam kapoor
0 siblings, 1 reply; 3+ messages in thread
From: nick @ 2014-08-28 4:54 UTC (permalink / raw)
To: kernelnewbies
Hey Guys,
Thanks for the help so far. I am wondering after reading the btrfs code for certain functions there seem to
be a lot of u64 variable and function returns of this type. Is this common in file system due to the disk
being in a certain format and depending on the CPU being big or small endian that this needed to not reorder
the disk parts that are being read into main memory and preserve the data's ordering?
Cheers Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
* U64 Ordering in File System Code of Btrfs
2014-08-28 4:54 U64 Ordering in File System Code of Btrfs nick
@ 2014-08-28 6:12 ` anupam kapoor
2014-08-28 18:11 ` nick
0 siblings, 1 reply; 3+ messages in thread
From: anupam kapoor @ 2014-08-28 6:12 UTC (permalink / raw)
To: kernelnewbies
>>>>> [Thu, 28 Aug 2014 00:54:47 -0400]: "nick" (nick):
,----[ nick ]
| Hey Guys,
| Thanks for the help so far. I am wondering after reading the btrfs
| code for certain functions there seem to
| be a lot of u64 variable and function returns of this type. Is this
| common in file system due to the disk
| being in a certain format and depending on the CPU being big or small
| endian that this needed to not reorder
| the disk parts that are being read into main memory and preserve the data's ordering?
| Cheers Nick
`----
on disk format is little-endian.
have a look at https://btrfs.wiki.kernel.org/index.php/Main_Page for
more information.
kind regards
anupam
^ permalink raw reply [flat|nested] 3+ messages in thread
* U64 Ordering in File System Code of Btrfs
2014-08-28 6:12 ` anupam kapoor
@ 2014-08-28 18:11 ` nick
0 siblings, 0 replies; 3+ messages in thread
From: nick @ 2014-08-28 18:11 UTC (permalink / raw)
To: kernelnewbies
On 14-08-28 02:12 AM, anupam kapoor wrote:
>>>>>> [Thu, 28 Aug 2014 00:54:47 -0400]: "nick" (nick):
> ,----[ nick ]
> | Hey Guys,
> | Thanks for the help so far. I am wondering after reading the btrfs
> | code for certain functions there seem to
> | be a lot of u64 variable and function returns of this type. Is this
> | common in file system due to the disk
> | being in a certain format and depending on the CPU being big or small
> | endian that this needed to not reorder
> | the disk parts that are being read into main memory and preserve the data's ordering?
> | Cheers Nick
> `----
> on disk format is little-endian.
>
> have a look at https://btrfs.wiki.kernel.org/index.php/Main_Page for
> more information.
>
> kind regards
> anupam
>
Forget to check the wiki and found what I was looking for. In addition, the code docs for the kernel
are some of the best I am ever seen, the only three that even compare are the Yocto Project, Arch Wiki
and Red Hat docs. Now I understand why you guys state to read the docs first :).
Cheers Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-28 18:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-28 4:54 U64 Ordering in File System Code of Btrfs nick
2014-08-28 6:12 ` anupam kapoor
2014-08-28 18:11 ` nick
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).