Project

General

Profile

Actions

Bug #10834

closed

SAMBA VFS module: Timestamps revert back to 01-01-1970

Added by Dennis Kramer about 9 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Samba/CIFS
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I've used the ceph_vfs.c upstream module from samba v4.1.16 for our cephfs cluster, but i've noticed a bug where timestamps aren't being updated correctly.
Modified files are being reset to the beginning of Unix time.

It looks like this bug only manifest itself in applications like MS Office where extra metadata is added to files. If I for example modify a text file in notepad the timestamps are working fine, but when I modify a .docx (or .xls for that matter) in MS Office, the timestamp is getting a reset to 1-1-1970.

I've compiled samba from samba-latest source (4.1.16) on Ubuntu 14.04LTS
My CEPH cluster is running version 0.87 (c51c8f9d80fa4e0168aa52685b8de40e42758578) on Ubuntu 14.04LTS


Files

patch (962 Bytes) patch Zheng Yan, 02/13/2015 12:20 PM
patch-4.1.6 (979 Bytes) patch-4.1.6 Zheng Yan, 02/13/2015 01:50 PM
patch-fake-birth (2.23 KB) patch-fake-birth Zheng Yan, 02/14/2015 02:39 AM
0001-vfs_ceph-fix-ntimes_fn-callback.patch (1.49 KB) 0001-vfs_ceph-fix-ntimes_fn-callback.patch Zheng Yan, 02/25/2015 03:51 AM
0002-vfs_ceph-remove-cephwrap_init_stat_ex_from_stat.patch (2.63 KB) 0002-vfs_ceph-remove-cephwrap_init_stat_ex_from_stat.patch Zheng Yan, 02/25/2015 03:51 AM
0000-pre.patch (721 Bytes) 0000-pre.patch Zheng Yan, 02/25/2015 11:07 AM
Actions

Also available in: Atom PDF