Whamcloud - gitweb
- a bunch of "fixes" on b_llpmd
authorbraam <braam>
Wed, 20 Aug 2003 15:38:56 +0000 (15:38 +0000)
committerbraam <braam>
Wed, 20 Aug 2003 15:38:56 +0000 (15:38 +0000)
commit41e37ab61ae40c1061cf743fc41dc615fca33bb6
tree8b9aded660a904b5e22746e5d721f56c577af8ad
parent23b55b063fe536049a1da5b29478bb9893bab902
- a bunch of "fixes" on b_llpmd
  - hook initialization and orphan removal functions
    [this needs review and redo, after some config issues are settled.]
    [nasty hackery continues in this area until lconf sees a change.]

    - things that would help:
     1. pass the lov_uuid to the MDS at setup time
     2. call the mds ioctl to do lovinfo setup during setup
        [add yet another parameter to mds_setup?]
        [currently this is a race]
     3. get lov/osc devices set up before the mds is set up.

     All 3 look doable to me.

  - moved code from the class ioctl handler to genops, to begin a
  framework for in-kernel configuration.  For now we have:
    - class_newdev,
    - class_attach
    - class_setup functions.

  - added Alex pre-creation code

NOTE: oscc_precreate doesn't wake up unless has_objects returns
true. That prevents pre-create to be called multiple times. Should be
fixed, but it's unlikely we will see this bug again
lustre/osc/osc_create.c