diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2016-10-28 17:45:00 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-11-23 12:11:16 -0800 |
commit | 0bfd7a091c19132489a0f977b8dbf9f6b5ae0a1c (patch) | |
tree | 62561e716cb78cfd55075ab294f043d017f9c57d /fs/f2fs/data.c | |
parent | 487df616dec33231c99294b906d720d256a2de16 (diff) | |
download | talos-obmc-linux-0bfd7a091c19132489a0f977b8dbf9f6b5ae0a1c.tar.gz talos-obmc-linux-0bfd7a091c19132489a0f977b8dbf9f6b5ae0a1c.zip |
f2fs: Use generic zoned block device terminology
SMR stands for "Shingled Magnetic Recording" which makes sense
only for hard disk drives (spinning rust). The ZBC/ZAC standards
enable management of SMR disks, but solid state drives may also
support those standards. So rename the HMSMR feature to BLKZONED
to avoid a HDD centric terminology. For the same reason, rename
f2fs_sb_mounted_hmsmr to f2fs_sb_mounted_blkzoned.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index cf5ec39f907d..47ded0c34df1 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -110,7 +110,7 @@ static inline void __submit_bio(struct f2fs_sb_info *sbi, { if (!is_read_io(bio_op(bio))) { atomic_inc(&sbi->nr_wb_bios); - if (f2fs_sb_mounted_hmsmr(sbi->sb) && + if (f2fs_sb_mounted_blkzoned(sbi->sb) && current->plug && (type == DATA || type == NODE)) blk_finish_plug(current->plug); } |