Project

General

Profile

Actions

Tasks #64413

closed

Tasks #63293: Implement fscrypt in libcephfs and cephfs-fuse

Tasks #64160: RMW race detection

File size is not correct after rmw

Added by Christopher Hoffman 3 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

When a smaller file is copied to overwrite a larger file, the dest inode size is not changed to source file size. When inspecting config.log, it has trailing 0s.

[fscrypt_test_unlocked_ffsb]$ cp ffsb_stats.c config.log 
[fscrypt_test_unlocked_ffsb]$ ll
total 91
-rw-------. 1 choffman choffman  7547 Feb 12 22:49 config.log
-rw-------. 1 choffman choffman  7130 Feb 12 22:49 ffsb_stats.c

config.log file size should be 7130.


Related issues 1 (0 open1 closed)

Related to CephFS - Tasks #64723: ffsb configure issues (gcc fails)ClosedChristopher Hoffman

Actions
Actions

Also available in: Atom PDF