LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2012, 11:30 PM   #1
uttamnk
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Why does JBD2 store its structures in Big Endian format ?


I am going through the JBD2 in linux. I am wondering why are the data structures in JBD stored in big endian format ? Is there some reason or just a matter of choice. I see this as a performance loss as every time there needs to be conversion before assignment.
 
Old 11-07-2012, 05:12 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,676

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
Most of these deals come from some person. That person may have started the work on some other system and OS or even under some different hardware. So they just continued to linux with their work.

I guess there could be some performance or other issue. It doesn't seem to be directly or easily found as to why that was done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Converting a binary file from little endian to big endian jaepi Programming 6 09-05-2011 09:51 PM
small-endian to big-endian conversion of data to store in a structure NancyT Programming 2 11-26-2008 10:06 AM
Mplayer woes: "[format] Sample format big-endian AC3 not yet supported" killahsmurf Linux - Software 0 11-26-2006 09:44 AM
problem in understanding little endian/big endian machine program indian Programming 6 04-19-2006 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration