Zbr's days.
January
Sun Mon Tue Wed Thu Fri Sat
  4
     
2007
Months
Jan

About :: TODO :: Blog :: RSS :: Old blog :: Projects :: GIT :: Gallery :: Notes

Thu, 04 Jan 2007

Visited Alma Mater - walked and searched for the ghosts from the past...


I visited MIPT and walked in the campus this evening and I had not met anyone - no even remotely known face or voice.
Things change.

Then moved to Mephody's wife Ira parents place (it is neighbour house to where I bought my apartment, where they stopped while visiting Moscow) to drink my new shiny liter or irish wiskey, which he presented to me from Ireland. It was fun time with Meph and Ira - we stopped about 5 A.M. and recalled friends, talked about life, its changes, about Alma Mater. Eventually washed bones to politics, music. Compared life in Limerick (Ireland) and Moscow (Russia), and found that no matter how strange life here is, it is much-much-much more interesting than that in stable old Europe. Meph and Ira concluded that they would like to return to Russia, or move to France - they visited Paris recently and showed a lot of interesting photos from the trip - The Louvre, Versailles, Eiffel's tower, Notre Dame De Paris - they are beautiful places, the French are good and interesting people.

/life :: Link / Comments (0)


AIO (sub) state machine has been completed.


It is small subsystem, which lives in kernel/kevent/kevent_aio.c file, which allows to queue and asynchronously invoke callbacks, which are intended to populate pages into VFS cache, send data to the destination socket, copy data to/from userspace and so on.

Real working callbacks itself are not implemented yet.

I will only implement three of them - open file by filename, populate file's pages into VFS cache, send pages to destination socket.
Probably will also add writing page to userspace.
This set will allow to implement aio_sendfile() as sequence of that callbacks - open file by file path, then populate its pages into VFS cache in some chunks or one-by-one and eventually send them to the destination socket.
There is a problem of the order of sending one page and populating its neighbour though, since having the whole VFS cache filled with locked pages from one file is not a good idea, but locking is required to allow sending itself - so page would not be swapped out. But I will either stop further populating until pages are sent, or will not firgure this out at all - depending on results from initial implementation.
Each subtask above - i.e. each callback, is an elementary chunk, which will be handled by kevent. Completeness of the whole task will be handled by kevent too.

/devel/kevent/aio :: Link / Comments (0)