Re: staging: add Lustre file system client support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux