reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] [PATCHv2 0/2] libaal: add device "discard" operation.
@ 2014-05-11  9:33 Ivan Shapovalov
  2014-05-11  9:33 ` [RFC] [PATCHv2 1/2] configure.in: check for fallocate() and related headers Ivan Shapovalov
  2014-05-11  9:33 ` [RFC] [PATCHv2 2/2] Add aal_device_discard() function and implement it for file-based device Ivan Shapovalov
  0 siblings, 2 replies; 3+ messages in thread
From: Ivan Shapovalov @ 2014-05-11  9:33 UTC (permalink / raw)
  To: reiserfs-devel; +Cc: Ivan Shapovalov

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(-)

-- 
1.9.2


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

end of thread, other threads:[~2014-05-11  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-11  9:33 [RFC] [PATCHv2 0/2] libaal: add device "discard" operation Ivan Shapovalov
2014-05-11  9:33 ` [RFC] [PATCHv2 1/2] configure.in: check for fallocate() and related headers Ivan Shapovalov
2014-05-11  9:33 ` [RFC] [PATCHv2 2/2] Add aal_device_discard() function and implement it for file-based device Ivan Shapovalov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).