Coder Social home page Coder Social logo

Comments (10)

namjaejeon avatar namjaejeon commented on August 30, 2024

ksmbd in linux-5.15 kernel seems to be unstable. Please use ksmbd in the latest kernel(6.5 or 6.6) or use github ksmbd(https://github.com/cifsd-team/ksmbd). Let me know if you find same issue on the latest ones.

from ksmbd.

tojoyccnu avatar tojoyccnu commented on August 30, 2024

ksmbd in linux-5.15 kernel seems to be unstable. Please use ksmbd in the latest kernel(6.5 or 6.6) or use github ksmbd(https://github.com/cifsd-team/ksmbd). Let me know if you find same issue on the latest ones.

@namjaejeon It works now, thanks.
I will try to test it over RDMA, using MT27800 Family [ConnectX-5] Mellanox Technologies. Did you tested that before?

from ksmbd.

namjaejeon avatar namjaejeon commented on August 30, 2024

Did you tested that before?

@tojoyccnu I don't have all kinds of RDMA NICs. I have tested only ConnectX-3 Mellanox and a Chelsio NIC. There will not be some problem.

from ksmbd.

namjaejeon avatar namjaejeon commented on August 30, 2024

@tojoyccnu And you need to add "server multi channel support = yes" parameter in [global] section of ksmbd.conf. Without this, RDMA will not work with windows client.

from ksmbd.

tojoyccnu avatar tojoyccnu commented on August 30, 2024

@namjaejeon Has the latest version of ksmbd (git master) been tested for compatibility with Linux kernel 6.6.0?

compile occors errors, like below:

./include/linux/fs.h:3016:43: note: expected ‘u32’ {aka ‘unsigned int’} but argument is of type ‘struct inode *’
3016 | void generic_fillattr(struct mnt_idmap *, u32, struct inode *, struct kstat *);
| ^~~
fs/smb/server/smb2pdu.c:5037:52: error: passing argument 3 of ‘generic_fillattr’ from incompatible pointer type [-Werror=incompatible-pointer-types]
5037 | generic_fillattr(file_mnt_idmap(fp->filp), inode, &stat);

fs/smb/server/smb2pdu.c: In function ‘find_file_posix_info’:
fs/smb/server/smb2pdu.c:5170:35: error: ‘struct inode’ has no member named ‘i_ctime’; did you mean ‘i_atime’?
5170 | time = ksmbd_UnixTimeToNT(inode->i_ctime);

...
and so on.

from ksmbd.

tojoyccnu avatar tojoyccnu commented on August 30, 2024

Looks like the fix to this will be to use inode_get_ctime(i), and the appropriate setter function, for all of these places we have been accessing i->i_ctime directly。

linux 6.6.0 has changed arguments to function ‘generic_fillattr’.

@namjaejeon

from ksmbd.

namjaejeon avatar namjaejeon commented on August 30, 2024

@tojoyccnu Yes, there is a change in vfs. I will call you after updating it tonight or tomorrow.

from ksmbd.

namjaejeon avatar namjaejeon commented on August 30, 2024

@tojoyccnu Please check git clone https://github.com/namjaejeon/ksmbd

from ksmbd.

tojoyccnu avatar tojoyccnu commented on August 30, 2024

@namjaejeon Is there a configuration to configure the number of cpu cores used?

from ksmbd.

namjaejeon avatar namjaejeon commented on August 30, 2024

@tojoyccnu No, there is no such configuration in ksmbd. nfs or samba has such options ?

from ksmbd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.