Re: Interface for SCSI transactions ?

2011-09-14 Thread Samuel Thibault
Thomas Schmitt, le Tue 13 Sep 2011 12:29:43 +0200, a écrit :
>   routine device_transact_native(

Why "native"?

> Page 3 of mig.ps says:
>  "For variable length arrays an additional count parameter is generated
>   to specify how much of the array is actually being used."
> 
> So do i have to feed this by two C variables ?
> And what type has the additionally generated count parameter ?

Mmm, I think the simplest way is to just rebuild the kernel with the new
RPC, and look at the generated prototype.

> Serialized structs in byte arrays seem to be the only way to get this,

That's what Mach seems to do for most things, see device_set_status &
co, thread_set_state & co, etc.

Samuel



Re: Should diskfs_file_update be called in every io_write?

2011-09-14 Thread Samuel Thibault
What I'm afraid of with such change is that some applications have
gotten used to be able to call write(), lseek(back), write(again at the
same place), lseek(back), etc. and just get one disk write. We'd need
figures with some real-world testcase to be sure we don't hurt usual
workcases.

Samuel



Re: IRC meeting 2011-09-14

2011-09-14 Thread Arne Babenhauserheide
Hi Antrik, 

Thanks for the reminder!

Best wishes, 
Arne

At Wed, 14 Sep 2011 15:12:49 +0200,
Olaf Buddenhagen wrote:
> 
> Hi,
> 
> I forgot to mention that of course we are meeting as always today
> (Wednesday) at 19:00 UTC, in channel #hurd on irc.freenode.net. Feel
> free to join us, and/or prpose interesting discussion topics :-)
> 
> -antrik-
> 



IRC meeting 2011-09-14

2011-09-14 Thread olafBuddenhagen
Hi,

I forgot to mention that of course we are meeting as always today
(Wednesday) at 19:00 UTC, in channel #hurd on irc.freenode.net. Feel
free to join us, and/or prpose interesting discussion topics :-)

-antrik-