diff options
| author | Jinshan Xiong <[email protected]> | 2016-04-12 16:14:10 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-26 15:13:13 -0700 |
| commit | 1b1594da71c4286ce52009073ef0d7b6edc80ec5 (patch) | |
| tree | d7ae88a631f223ec551282cf9096a211c4554f6b /tools/perf/scripts/python | |
| parent | cc3b77589617b32c4fe610d9d6302a159f1fde13 (diff) | |
staging: lustre: llite: Truncate to restore file
Truncate up is safe so it won't trigger restore.
Copy optimization for truncate down - only copy the part under
truncate length. If a file is truncated to zero usually it'll be
followed by write so I choose to restore the file and set correct
stripe information.
Signed-off-by: Jinshan Xiong <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3817
Reviewed-on: http://review.whamcloud.com/7505
Reviewed-by: jacques-Charles Lafoucriere <[email protected]>
Reviewed-by: Henri Doreau <[email protected]>
Reviewed-by: Aurelien Degremont <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions