All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] f2fs-tools: zoned block device support
@ 2016-10-28  7:56 Damien Le Moal
  2016-10-28  7:56 ` [PATCH 1/7] f2fs-tools: Add executable files to .gitignore Damien Le Moal
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Damien Le Moal @ 2016-10-28  7:56 UTC (permalink / raw)
  To: jaegeuk, yuchao0
  Cc: Damien Le Moal, Shaun Tancheff, Hannes Reinecke, linux-f2fs-devel

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.


------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-11-01 18:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-28  7:56 [PATCH 0/7] f2fs-tools: zoned block device support Damien Le Moal
2016-10-28  7:56 ` [PATCH 1/7] f2fs-tools: Add executable files to .gitignore Damien Le Moal
2016-10-28  7:56 ` [PATCH 1/7] Gitignore: add executable files Damien Le Moal
2016-10-28  7:56 ` [PATCH 2/7] f2fs-tools: Use zoned block device terminology Damien Le Moal
2016-10-28  7:57 ` [PATCH 3/7] f2fs-tools: Introduce support for zoned block devices Damien Le Moal
2016-10-28  7:57 ` [PATCH 4/7] mkfs.f2fs: Check options " Damien Le Moal
2016-10-28  7:57 ` [PATCH 5/7] mkfs.f2fs: Reset sequential zones on device discard Damien Le Moal
2016-10-28  7:57 ` [PATCH 6/7] mkfs.f2fs: Check zoned block devices configuration Damien Le Moal
2016-10-28  7:57 ` [PATCH 7/7] fsck.f2fs: Check BLKZONED feature on mount Damien Le Moal
2016-11-01  3:46 ` [PATCH 0/7] f2fs-tools: zoned block device support Jaegeuk Kim
2016-11-01  8:25   ` Damien Le Moal
2016-11-01 18:22     ` Jaegeuk Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.