Hello!

On Apr 23, 2014, at 11:14 PM, Peng Tao wrote:
>> Btw, what's the trick to navigating the lustre source?  I normally do
>> a make cscope but that doesn't work and I am having a very hard time
>> with this code.
>> 
> I use cscope + ctags to navigate the lustre source. I guess you hit
> some dead corners mainly on macros like
> vim drivers/staging/lustre/lustre/include/obd_class.h +323
> 323 #define OBT(dev)        (dev)->obd_type
> 324 #define OBP(dev, op)    (dev)->obd_type->typ_dt_ops->o_ ## op
> 325 #define MDP(dev, op)    (dev)->obd_type->typ_md_ops->m_ ## op
> 326 #define CTXTP(ctxt, op) (ctxt)->loc_logops->lop_##op
> 
> These macros did hit me as well when I first started reading the
> lustre code. I guess we should get rid of them somehow in the end, is
> it correct Andreas and Oleg?

I don't really use either cscope or ctags.
I'm ok if we can git rid of them in some way that preserves the intended 
functionality, I guess, all without actually spelling out every method possible 
by hand.

Bye,
    Oleg
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to