[ENBD] 2.5.46 update

Tad Kollar enbd@lists.community.tummy.com
Tue, 12 Nov 2002 11:29:00 -0500


> What is your root file system? Or are you on scsi instead of IDE?

Using XFS on an IDE drive... it's been my favorite for the past few years. 
Especially for this project because it can be grown. It's fast for everything 
except deleting files en masse, and crash recovery is very quick.

> Err, let's make sure it gets through module_init OK first, eh? In
> there.

Yep, it does get through that.

> One is the kernel loop which will be calling the request function
> whenever it has requests to treat (do_nbd_...). The other is the
> client loop calling down through nbd_ioctl then into get_req and
> nbd_ack.

The client loop seems to be the problem...

1. In nbd_ioctl(), it goes to the case MY_NBD_ACK: under:
// PTB these are all always local ioctls
         switch (cmd)

2. Calls:
err = nbd_ack (slot, (char*)arg);

3. In nbd_ack, gets to the success: label and calls:
nbd_commit (slot, req);

4. In nbd_commit, gets down to:
nbd_end_request_lock (req);

5. And dies there. That's as deep as I've gone so far...

Tad