[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] Someone tried to build own fuse library?
From:       Stef Bon <stefbon () gmail ! com>
Date:       2015-07-06 13:27:54
Message-ID: CANXojcwTG1nSEMi8yH5=fWXL-eKmaH1GyiCyChiL2Wh5dzhR8A () mail ! gmail ! com
[Download RAW message or body]

Hi,

I've been looking at it, and it looks very simple! No iovecs, but just
one buffer.

But why one big case statement, maybe better calling the function
related to the opcode, what the standard library does:

fuse_ll_ops[opcode].func(req, in->nodeid, inarg)

with of course a check the opcode is in the bounds of the array.

Stef

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic