Skip to content

RFC libaal: add device "discard" operation.

Ivan Shapovalov reiserfs-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest2 patches 0 repliesNew
  2. v1 RFC2 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2configure.in: check for fallocate() and related headers.configure.in+2 -20 replies
2/2Add aal_device_discard() function and implement it for file-based device.include/aal/device.h include/aal/types.h src/device.c +1 more+95 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC] [PATCHv2 0/2] libaal: add device "discard" operation.

This implements device discard functionality in libaal to be used by mkfs and friends.

Note that the build system is _not_ regenerated, so the direct result of applying these patches won't build.

v2: remove a wrong assertion (result of copy-pasting), fix indentation.

Ivan Shapovalov (2):
configure.in: check for fallocate() and related headers.
Add aal_device_discard() function and implement it for file-based device.

 configure.in         |  4 +--
 include/aal/device.h |  4 +++
 include/aal/types.h  |  3 +++
 src/device.c         | 14 ++++++++++
 src/file.c           | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 97 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.2