login
Header Space

 
 

Re: file offset corruption on 32-bit machines?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bryan Henderson <hbryan@...>
Cc: Lennart Sorensen <lsorense@...>, Bodo Eggert <7eggert@...>, Diego Calleja <diegocg@...>, Jan Kara <jack@...>, Jiri Kosina <jkosina@...>, <linux-fsdevel@...>, Linux Kernel list <linux-kernel@...>, Michal Hocko <mhocko@...>, Meelis Roos <mroos@...>, Pavel Machek <pavel@...>
Date: Wednesday, April 16, 2008 - 5:40 am

Bryan Henderson wrote:

I think that argument is the strongest yet.  Wasted debugging time due
to totally surprising and hardly justifiable kernel behaviour.  Strace
/ GDB on the application shows a trace which doesn't relate at all to
the unexpected file changes.

There is also POSIX specification:

  http://www.opengroup.org/onlinepubs/000095399/functions/xsh_chap02_09.html

  "All functions defined by this volume of IEEE Std 1003.1-2001 shall
be thread-safe, except that the following functions need not be
thread-safe."

  [List which does not include lseek(), therefore lseek() shall be
  thread-safe.  Same for read() and write().]

Docs for HP-UX and AIX say the same as POSIX about thread-safety.

-- Jamie
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: file offset corruption on 32-bit machines?, Bodo Eggert, (Fri Apr 11, 8:24 am)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Fri Apr 11, 9:55 am)
Re: file offset corruption on 32-bit machines?, Jan Kara, (Mon Apr 14, 12:20 pm)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Mon Apr 14, 12:22 pm)
Re: file offset corruption on 32-bit machines?, Jan Kara, (Mon Apr 14, 12:53 pm)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Mon Apr 14, 1:06 pm)
Re: file offset corruption on 32-bit machines?, Jan Kara, (Mon Apr 14, 3:03 pm)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Mon Apr 14, 3:29 pm)
Re: file offset corruption on 32-bit machines?, Pavel Machek, (Tue Apr 15, 4:57 am)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Tue Apr 15, 11:32 am)
Re: file offset corruption on 32-bit machines?, Pavel Machek, (Tue Apr 15, 1:34 pm)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Tue Apr 15, 2:24 pm)
Re: file offset corruption on 32-bit machines?, Pavel Machek, (Tue Apr 15, 3:12 pm)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Tue Apr 15, 3:49 pm)
Re: file offset corruption on 32-bit machines?, Pavel Machek, (Tue Apr 15, 4:06 pm)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Tue Apr 15, 4:29 pm)
Re: file offset corruption on 32-bit machines?, Bryan Henderson, (Tue Apr 15, 6:11 pm)
Re: file offset corruption on 32-bit machines?, Jamie Lokier, (Wed Apr 16, 5:40 am)
Re: file offset corruption on 32-bit machines?, Peter Zijlstra, (Tue Apr 15, 4:28 pm)
Re: file offset corruption on 32-bit machines?, Pavel Machek, (Wed Apr 16, 4:15 am)
Re: file offset corruption on 32-bit machines?, Alan Cox, (Wed Apr 16, 6:54 am)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Wed Apr 16, 9:57 am)
Re: file offset corruption on 32-bit machines?, Peter Zijlstra, (Wed Apr 16, 4:20 am)
Re: file offset corruption on 32-bit machines?, Jan Kara, (Mon Apr 14, 3:42 pm)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Mon Apr 14, 3:45 pm)
Re: file offset corruption on 32-bit machines?, Alan Cox, (Mon Apr 14, 12:54 pm)
Re: file offset corruption on 32-bit machines?, Alexey Dobriyan, (Mon Apr 14, 2:34 pm)
Re: file offset corruption on 32-bit machines?, Bryan Henderson, (Fri Apr 11, 12:59 pm)
Re: file offset corruption on 32-bit machines?, Lennart Sorensen, (Fri Apr 11, 1:15 pm)
Re: file offset corruption on 32-bit machines?, Pavel Machek, (Sat Apr 12, 4:48 am)
Re: file offset corruption on 32-bit machines?, Bryan Henderson, (Fri Apr 11, 5:29 pm)
speck-geostationary