Re: [f2fs-dev] [PATCH] f2fs: Do not issue small discards in LFS mode

2017-05-25 Thread Damien Le Moal
Chao, On 5/24/17 20:13, Chao Yu wrote: > Hi Damien, > > On 2017/5/24 13:02, Damien Le Moal wrote: >> clear_prefree_segments() issues small discards after discarding full >> segments. These small discards may not be section aligned, so not zone >> aligned when using a zoned block device, or more g

Re: [f2fs-dev] [PATCH] f2fs: Do not issue small discards in LFS mode

2017-05-24 Thread Chao Yu
Hi Damien, On 2017/5/24 13:02, Damien Le Moal wrote: > clear_prefree_segments() issues small discards after discarding full > segments. These small discards may not be section aligned, so not zone > aligned when using a zoned block device, or more generally, when > mounted in LFS mode. So do not i

[f2fs-dev] [PATCH] f2fs: Do not issue small discards in LFS mode

2017-05-23 Thread Damien Le Moal
clear_prefree_segments() issues small discards after discarding full segments. These small discards may not be section aligned, so not zone aligned when using a zoned block device, or more generally, when mounted in LFS mode. So do not issue these small discards when mounted in LFS mode. Signed-of