Project

General

Profile

Actions

Bug #37547

closed

client: fix failure in quota size limitation when using samba

Added by tang junhui over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In samba, Client::_write may be called with the offset a
negative number, and use the f->pos as the real write offset,
in such condition, quota size can not limite the writes
enven it exceeds the size limitation.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #37695: mimic: client: fix failure in quota size limitation when using sambaResolvedJos CollinActions
Copied to CephFS - Backport #37696: luminous: client: fix failure in quota size limitation when using sambaRejectedJos CollinActions
Actions

Also available in: Atom PDF