Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
On osd we don't check for new inode size before ldiskfs_truncate(), we could overflow the block counters in ext4_es_remove_extent().
It seems kind of wrong that we allow creating a file with size=MAX_LFS_FILESIZE but then we cannot open it? It would probably make more sense that we would return an error for the truncate operation for files larger than LOV_MAX_STRIPE_COUNT * ocd_maxbytes at the client.
Something like this is already in https://review.whamcloud.com/41365 "
LU-14384tests: write and read last object stripe"