a question about storeClientListAdd.

From: <maer727@dont-contact.us>
Date: Sat, 27 Apr 2002 10:02:48 +0800 (CST)

Hi, pals!

I am puzzled at storeClientListAdd in the following statements,

    if (sc->type == STORE_DISK_CLIENT)
        /* assert we'll be able to get the data we want */
        /* maybe we should open swapin_fd here */
        assert(e->swap_filen > -1 || storeSwapOutAble(e));

What puzzled me most is the meaning and function of STORE_DISK_CLIENT
here. I do not know why if (sc->type == STORE_DISK_CLIENT), then we should test whether e->swap_filen > -1 or storeSwapOutAble(e) is
true.

Can you give me a simple explanation?

Best regards,
George Ma
Received on Fri Apr 26 2002 - 20:02:48 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:22 MST