Skip to contentSkip to conversation

Documentation: document ublk

PATCH In review Ming Lei 3 participants 3 messages Sep 2, 2022 – Sep 3, 2022

Subsystems (3)
lore
Share & tools
lore

Ming Lei

author
#0 lore raw

PATCH v4 1/1 Documentation: document ublk

Add documentation for ublk subsystem. It was supposed to be documented when merging the driver, but missing at that time.

Cc Bagas Sanjaya <[email protected]>
Cc Jonathan Corbet <[email protected]>
Cc Richard W.M. Jones <[email protected]>
Cc Xiaoguang Wang <[email protected]>

---
V4:
- trivial grammar fix and patch subject change, from Bagas Sanjaya
V3:
- add more words on UBLK_IO_NEED_GET_DATA, from Ziyang
- improve grammar & fix warning on 'make htmldocs', from Bagas Sanjaya
- other trivial change, suggested by Richard W.M. Jones
V2:
- integrate all kinds of cleanup from Bagas Sanjaya
- add 'why useful' paragraph from Stefan
- replace ublksrv with ublksrv for representing generic ublk userspace for convenience of reference, as suggested by Stefan
- add entry to block/index.rst for removing ktest waring
- add MAINTAINER entry
- add more references, such as zero copy and nbdublk
- thanks review/suggestion from Bagas Sanjaya, Richard W.M. Jones, Stefan Hajnoczi and ZiyangZhang

 Documentation/block/index.rst |   1 +
 Documentation/block/ublk.rst  | 253 ++++++++++++++++++++++++++++++++++
 MAINTAINERS                   |   1 +
 3 files changed, 255 insertions(+)
 create mode 100644 Documentation/block/ublk.rst
Documentation/block/index.rst +1 -0
index 68f115f2b1c6..c4c73db748a8 100644
@@ -23,3 +23,4 @@ Block
    stat
    switching-sched
    writeback_cache_control
+   ublk
Documentation/block/ublk.rst new file +253 -0

253 lines not on this page · raw message

MAINTAINERS +1 -0
index f512b430c7cb..08a5c465a160 100644
@@ -20760,6 +20760,7 @@ UBLK USERSPACE BLOCK DRIVER
 M:	Ming Lei <[email protected]>
 L:	[email protected]
 S:	Maintained
+F:	Documentation/block/index.rst
 F:	drivers/block/ublk_drv.c
 F:	include/uapi/linux/ublk_cmd.h
 
Signature · 1 line
2.31.1
maintainer
#1 lore raw

MAINTAINERS UBLK USERSPACE BLOCK DRIVER · line 20763

Quoted 9 lines · Ming Lei
MAINTAINERS +1 -0
index f512b430c7cb..08a5c465a160 100644
@@ -20760,6 +20760,7 @@ UBLK USERSPACE BLOCK DRIVER
 M:	Ming Lei <[email protected]>
 L:	[email protected]
 S:	Maintained
+F:	Documentation/block/index.rst

Documentation/block/ublk.rst

?

I'll make the edit when applying.

Signature · 1 line
Jens Axboe