Commit 025b360
f2fs: compress: don't {,de}compress non-full cluster
f2fs won't compress non-full cluster in tail of file, let's skip
dirtying and rewrite such cluster during f2fs_ioc_{,de}compress_file.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent 3a2c0e5 commit 025b360
1 file changed
Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4092 | 4092 | | |
4093 | 4093 | | |
4094 | 4094 | | |
4095 | | - | |
4096 | | - | |
4097 | | - | |
4098 | | - | |
| 4095 | + | |
| 4096 | + | |
4099 | 4097 | | |
4100 | 4098 | | |
4101 | 4099 | | |
| |||
4105 | 4103 | | |
4106 | 4104 | | |
4107 | 4105 | | |
4108 | | - | |
4109 | | - | |
| 4106 | + | |
| 4107 | + | |
4110 | 4108 | | |
4111 | 4109 | | |
4112 | 4110 | | |
| |||
4172 | 4170 | | |
4173 | 4171 | | |
4174 | 4172 | | |
4175 | | - | |
4176 | | - | |
4177 | | - | |
4178 | | - | |
| 4173 | + | |
| 4174 | + | |
4179 | 4175 | | |
4180 | 4176 | | |
4181 | 4177 | | |
| |||
4185 | 4181 | | |
4186 | 4182 | | |
4187 | 4183 | | |
4188 | | - | |
4189 | | - | |
| 4184 | + | |
| 4185 | + | |
4190 | 4186 | | |
4191 | 4187 | | |
4192 | 4188 | | |
| |||
0 commit comments