Skip to content

smb/server: implement compression fattr handler

[email protected] linux-cifs 4 versions – Applied

Status from this message: Applied it to #ksmbd-for-next-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest1 patch 1 replyApplied
  2. v37 patches 4 repliesApplied
  3. v25 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches19 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/1smb/server: fix incorrect file size in get_file_compression_info()fs/smb/server/smb2pdu.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/1] smb/server: implement compression fattr handler

From: ChenXiaoSong <[email protected]>

v3->v4: use min(stat.size, stat.blocks << 9) as the compressed file size.

v3: https://lore.kernel.org/linux-cifs/[email protected]/

The following patches from v3 have already been merged into ksmbd.git ksmbd-for-next-next:
- smb/server: get compression format in get_file_compression_info()
- smb/server: implement FSCTL_SET_COMPRESSION ioctl handler
- smb/server: implement FSCTL_GET_COMPRESSION ioctl handler
- smb/server: get compression file attribute on open
- smb: move compression definitions into common/fscc.h
- smb: remove duplicate server/smbfsctl.h

ChenXiaoSong (1):
smb/server: fix incorrect file size in get_file_compression_info()

 fs/smb/server/smb2pdu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.54.0