Hi Damien, I've resolved some conflicts in the patches, and finally integrated them on top of our dev branch. Could you take a look at them from the below url?
http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/log/?h=dev Thanks, On Fri, Oct 28, 2016 at 04:56:56PM +0900, Damien Le Moal wrote: > With the introduction of zoned block device support in the kernel, accessing > discovering if a block device is zoned and accessing its zone layout > information > does not require using SG_IO anymore. The file /sys/block/<dev>/queue/zoned > indicates the device zone model and the ioctls BLKREPORTZONE and BLKRESETZONE > defined in include/uapi/linux/blkzoned.h allow manipulating zones more easily. > > This patch series brings in support for this new interface in place of the > direct SG_IO-zbc commands. In addition, it enforces some formtating options > for host-managed zoned block devices and straighten device zone layout checks > to make sure that the device can be used. > > Finally, as discard does not result in write pointer zone reset, the ioctl > BLKRESETZONE is used during formatting to properly initialize all sequential > zones of the device. > > Damien Le Moal (7): > f2fs-tools: Add executable files to .gitignore > f2fs-tools: Use zoned block device terminology > f2fs-tools: Introduce support for zoned block devices > mkfs.f2fs: Check options for zoned block devices > mkfs.f2fs: Reset sequential zones on device discard > mkfs.f2fs: Check zoned block devices configuration > fsck.f2fs: Check BLKZONED feature on mount > > .gitignore | 4 + > configure.ac | 2 +- > fsck/mount.c | 11 +- > include/f2fs_fs.h | 111 +++++--- > lib/Makefile.am | 2 +- > lib/libf2fs.c | 40 ++- > lib/libf2fs_zoned.c | 296 ++++++++++++++++++++++ > lib/zbc.c | 647 > ----------------------------------------------- > lib/zbc.h | 361 -------------------------- > mkfs/f2fs_format.c | 24 +- > mkfs/f2fs_format_main.c | 24 +- > mkfs/f2fs_format_utils.c | 2 + > 12 files changed, 464 insertions(+), 1060 deletions(-) > create mode 100644 lib/libf2fs_zoned.c > delete mode 100644 lib/zbc.c > delete mode 100644 lib/zbc.h > > -- > 2.7.4 > > Western Digital Corporation (and its subsidiaries) E-mail Confidentiality > Notice & Disclaimer: > > This e-mail and any files transmitted with it may contain confidential or > legally privileged information of WDC and/or its affiliates, and are intended > solely for the use of the individual or entity to which they are addressed. > If you are not the intended recipient, any disclosure, copying, distribution > or any action taken or omitted to be taken in reliance on it, is prohibited. > If you have received this e-mail in error, please notify the sender > immediately and delete the e-mail in its entirety from your system. ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel