No announcement yet.

KSMBD Declared Stable - No Longer "Experimental" - In Linux 6.6

  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Originally posted by OneTimeShot View Post

    ‚ÄčLet's see. Got the CS degree. Built filesystems both in Kernel and in user space (ok on Windows, so probably don't count) Pretty sure my question is why Windows no longer runs SMB in kernel space, you know... after half the world was screwed over by a SMB vulnerability in the early 2000s.

    No - you have a big character flaw... And you don't know the answer, otherwise you'd write it (probably saying something semi-accurate like having access to the filesystem cache in kernel space). And I'd still point out that user space is fast enough for SMB in Windows, coz the bottleneck is the network card...
    Good points. Another point is that if a kernel module fails it can bring down the kernel, or at least severely cripple the system. This, in fact, is what happens with Linux TCM/LIO (targetcli). We've been using it for years as iSCSI target at work on various types of servers. Every now and then it will crash because of 'something', and only way to remedy the situation is to forcebly restart the server, because the iscsi module is holding some lock that can't be broken. After some years we now discovered the user-space tgt iscsi server, and it has been flawless. Performance is easily on-par, because as you say, network itself is the bottleneck.

    user-space iSCSI target daemon. Contribute to fujita/tgt development by creating an account on GitHub.