diff options
| author | Damien Le Moal <damien.lemoal@wdc.com> | 2017-05-26 17:04:40 +0900 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-07-21 12:37:35 +0200 |
| commit | ebe053736ef6aacec1a4c7ef453f6d3415738f2b (patch) | |
| tree | c8b39f00979300a2ad8d8f275c21f24da767934e /include/linux/kcmp.h | |
| parent | f59079466dbefd2e15aeb1bf7e24649d883e29ff (diff) | |
f2fs: Do not issue small discards in LFS mode
clear_prefree_segments() issues small discards after discarding full
segments. These small discards may not be section aligned, so not zone
aligned on a zoned block device, causing __f2fs_iissue_discard_zone() to fail.
Fix this by not issuing small discards for a volume mounted with the BLKZONED
feature enabled.
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/kcmp.h')
0 files changed, 0 insertions, 0 deletions
