From mboxrd@z Thu Jan 1 00:00:00 1970 From: anupam.kapoor@gmail.com (anupam kapoor) Date: Thu, 28 Aug 2014 11:42:59 +0530 Subject: U64 Ordering in File System Code of Btrfs In-Reply-To: <53FEB617.2020400@gmail.com> (nick's message of "Thu, 28 Aug 2014 00:54:47 -0400") References: <53FEB617.2020400@gmail.com> Message-ID: <87bnr5p2fo.fsf@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org >>>>> [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