Skip to contentSkip to conversation

reiser modification for file queuing

DISCUSSION jenn sirp 2 participants 5 messages Mar 16, 2004 2 messages not in the archive

lore
Share & tools
lore

jenn sirp

author
#0 lore raw
Quoted 1 line

Can you tell me a little bit about this? ;-) Welcome.

Hi,

Thank You. How great. I am adding a built in queuing mechanism to your system. The idea is to have the built in functionality so that as files are created they are placed in a queue (implemented as a linked list); this queue always returns the next file to be processed. It is intended to speed up an existing application that resides in user space and dumps query files on to a database for further processing.

In a lot of ways it doesn't necessarily make sense. It should be probably be a part of the VFS, akin to all file systems. Or just left in user space. But it is an Intern project and it is so very cool. I asked to build a small FS from the ground-up -- so if I have success here I will be doing that this summer.

I started poking into your namei.c file (reiserfs_add_entry) and I've been having some good results. Everything will probably get moved into ioctl later but I am still trying to figure things out.

Your code is nice,

Jenn

#1 lore raw
Quoted 10 lines · jenn sirp
Quoted 3 lines

Can you tell me a little bit about this? ;-) Welcome.

Hi,

Thank You. How great. I am adding a built in queuing mechanism to your system.

Are queues directories? Are you doing it for V4 (strongly recommended)? Others need this functonality....

Quoted 24 lines

The idea is to have the built in functionality so that as files are created they are placed in a queue (implemented as a linked list); this queue always returns the next file to be processed. It is intended to speed up an existing application that resides in user space and dumps query files on to a database for further processing.

In a lot of ways it doesn't necessarily make sense. It should be probably be a part of the VFS, akin to all file systems. Or just left in user space. But it is an Intern project and it is so very cool. I asked to build a small FS from the ground-up -- so if I have success here I will be doing that this summer.

I started poking into your namei.c file (reiserfs_add_entry) and I've been having some good results. Everything will probably get moved into ioctl later but I am still trying to figure things out.

Your code is nice,

Jenn

Signature · 1 line
Hans

A message that is not in the archive (sent off-list or not yet received): 001701c40b7f$45bdb830$4a2fa5d1@energy

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw
Quoted 3 lines

I mean does readdir return the queue contents in queue order?

That would be an ideal implementation. Yes.

Thanks,

Jenn

#5 lore raw
Quoted 5 lines · jenn sirp
Quoted 4 lines

I mean does readdir return the queue contents in queue order?

Quoted 9 lines

That would be an ideal implementation. Yes.

Thanks,

Jenn

Well I'd be happy to accept a directory plugin for reiser4 with LIFO and FIFO queueing implemented using readdir ordering of directory contents.

Signature · 1 line
Hans
author
#6 lore raw
Quoted 4 lines
Quoted 1 line

Well I'd be happy to accept a directory plugin for reiser4 with LIFO and FIFO queueing implemented using readdir ordering of directory contents.

Me too. ; )

But I imagine I could easily get that incorporated into my project. That would be an interesting pursuit. They are pretty flexible at the Lab. And it is always nice to work on something that is truly useful.

Jenn