Current state of smbdirect patches
Subsystems (2)
Hi,
I'm at the point where server/transport_rdma.c only has there local structures:
struct smb_direct_device {
struct ib_device *ib_dev;
struct list_head list;
};static struct smb_direct_listener {
struct rdma_cm_id *cm_id;
} smb_direct_listener;struct smb_direct_transport {
struct ksmbd_transport transport;
struct smbdirect_socket socket;
};All others are moved to smbdirect_socket.h.
For the client I'm almost there I just need to
finish the move of struct smbd_mr.
Should I post all patches including the ones already in for-next and ksmbd-for-next-next? But resorted, first all fs/smb/common/smbdirect/ patches, then
all fs/smb/client patches and finally all fs/smb/server patches.
Maybe we want a smbdirect-for-next branch, which could be a shared ground for for-next (client) and ksmbd-for-next[-next] (server)?
So how should I post what I have?
metze
Quoted 3 lines
Should I post all patches including the ones already in for-next and ksmbd-for-next-next? But resorted, first all
fs/smb/common/smbdirect/patches, then
allfs/smb/clientpatches and finally allfs/smb/serverpatches.
Yes, that sounds reasonable
Quoted 2 lines
a smbdirect-for-next branch, which could be a shared ground for for-next (client) and ksmbd-for-next[-next] (server)?
I can do that (create an smb3-common-next, and possibly an smb3-common-next-next branch if we need to distinguish patches for next release vs. next rc),
but would prefer to wait until we have more of the code moved into smb/common. Probably reasonable to target creating that branch in a month or two
as the common module becomes usable.
Quoted 37 lines · Stefan Metzmacher
Hi,
I'm at the point where
server/transport_rdma.conly has there local structures:struct smb_direct_device { struct ib_device *ib_dev; struct list_head list; };static struct smb_direct_listener { struct rdma_cm_id *cm_id; } smb_direct_listener;struct smb_direct_transport { struct ksmbd_transport transport; struct smbdirect_socket socket; };All others are moved to
smbdirect_socket.h.For the client I'm almost there I just need to
finish the move of structsmbd_mr.Should I post all patches including the ones already in for-next and ksmbd-for-next-next? But resorted, first all
fs/smb/common/smbdirect/patches, then
allfs/smb/clientpatches and finally allfs/smb/serverpatches.Maybe we want a smbdirect-for-next branch, which could be a shared ground for for-next (client) and ksmbd-for-next[-next] (server)?
So how should I post what I have?
metze
Signature · 3 lines
Thanks, Steve
Hi Steve,
can you please remove my smbdirect related patches, which were in for-next and ksmbd-for-next-next in the last days.
I'll post new patches (most likely) on Monday.
I'm currently at the point where struct smbd_connection and struct smb_direct_transport are only used in very few places...
metze
Done. I have updated cifs-2.6.git for-next (ie client changesets in linux-next) to remove the pending smbdirect ones and also from smb3-kernel ksmbd-for-next (ie server next branch).
I will let Namjae update ksmbd-for-next-next
Quoted 13 lines · Stefan Metzmacher
Hi Steve,
can you please remove my smbdirect related patches, which were in for-next and ksmbd-for-next-next in the last days.
I'll post new patches (most likely) on Monday.
I'm currently at the point where struct
smbd_connectionand structsmb_direct_transportare only used in very few places...metze
Signature · 3 lines
Thanks, Steve
Namjae Jeon
maintainerQuoted 26 lines · Stefan Metzmacher
Hi,
I'm at the point where
server/transport_rdma.conly has there local structures:struct smb_direct_device { struct ib_device *ib_dev; struct list_head list; };static struct smb_direct_listener { struct rdma_cm_id *cm_id; } smb_direct_listener;struct smb_direct_transport { struct ksmbd_transport transport; struct smbdirect_socket socket; };All others are moved to
smbdirect_socket.h.For the client I'm almost there I just need to
finish the move of structsmbd_mr.
Quoted 8 lines
Should I post all patches including the ones already in for-next and ksmbd-for-next-next? But resorted, first all
fs/smb/common/smbdirect/patches, then
allfs/smb/clientpatches and finally allfs/smb/serverpatches.Maybe we want a smbdirect-for-next branch, which could be a shared ground for for-next (client) and ksmbd-for-next[-next] (server)?
So how should I post what I have?
The simplest way is to put the client/server's smbdirect patches on top of #for-next.
Because you are changing the /common directory together and it would be nice if it was merged and tested in linux-next.
Quoted 3 lines
metze