Comments (10)
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.
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.
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.
@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.
@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.
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’.
from ksmbd.
@tojoyccnu Yes, there is a change in vfs. I will call you after updating it tonight or tomorrow.
from ksmbd.
@tojoyccnu Please check git clone https://github.com/namjaejeon/ksmbd
from ksmbd.
@namjaejeon Is there a configuration to configure the number of cpu cores used?
from ksmbd.
@tojoyccnu No, there is no such configuration in ksmbd. nfs or samba has such options ?
from ksmbd.
Related Issues (20)
- Files over 128k not of size (N * 128k) create a "file too large for filesystem" error when using rdma HOT 17
- btrfs: Directories in subvolumes appear as files on SMB client HOT 3
- UTF-8 characters encoded in 4 bytes not supported in filenames HOT 4
- Kernel warning occurs when deleting uploaded file HOT 23
- SMB Direct with a Windows client HOT 9
- Is there a rpc client to send rpc requests to ksmbd? HOT 2
- Please enable some debug kernel options to do test HOT 3
- ksmbd is not configured to SMB-Direct automatically HOT 20
- [SMB_DIRECT] Test ksmbd over rdma, fs/smb/client occors errors 'kernel NULL pointer dereference, address: 00000000000000a8 HOT 2
- Failed to bind socket HOT 13
- ksmbd direct io HOT 2
- RDMA and RSS capabilities always 0 for infiniband interfaces. HOT 4
- RDMA crash HOT 11
- ksmbd: not respecting sticky bit permission on shared directory HOT 2
- files disappear after being copied from macOS HOT 5
- ksmbd does not handle case-insensitive parent directory names correctly HOT 1
- Ksmbd mount error(121): Remote I/O error HOT 2
- Compile error with SMB_INSECURE_SERVER enabled HOT 1
- "Bad file descriptor" / "no right to write" when creating git commits from Windows client HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksmbd.