summaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-08-05 18:08:25 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 08:56:01 +0200
commiteae9acd13a8d14b50c00a961fa959606f34bbd92 (patch)
treecbd16bf7fe9db99f6916408953c6243aca175121 /include/linux/blkdev.h
parent8c540a96c175bdf55bda8707db04cec78b816454 (diff)
downloadop-kernel-dev-eae9acd13a8d14b50c00a961fa959606f34bbd92.zip
op-kernel-dev-eae9acd13a8d14b50c00a961fa959606f34bbd92.tar.gz
Support 'discard sectors' operation in translation layer support core
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 26ececb..727886d 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -81,6 +81,7 @@ enum {
*/
REQ_LB_OP_EJECT = 0x40, /* eject request */
REQ_LB_OP_FLUSH = 0x41, /* flush device */
+ REQ_LB_OP_DISCARD = 0x42, /* discard sectors */
};
/*
OpenPOWER on IntegriCloud