lkml.org 
[lkml]   [1999]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.28 more on ramdisk problems....
> # od -tx4 -Ax /mnt/sbin/init
> 000000 00000000 00000000 00000000 00000000
> *
> 006420 00000000
> 006424

more info, if I create a new file and write some data to it I can read it
back ok, but if I umount/mount fs again then that file's data is filled
with zeroes but metadata is read correctly.

Besides, I am looking at the rd_request() and it looks like a joke:

if (CURRENT->cmd == READ)
memset(CURRENT->buffer, 0, len);
else
set_bit(BH_Protected, &CURRENT->bh->b_state);


how can it possibly be so simple - where is the actual io? On the other
hand, it is the same in 2.2.x and 2.2.12 works fine.

Still looking....
Tigran.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.032 / U:1.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site