Christoph Hellwig
66ac028019
block: don't allocate a payload for discard request
...
Allocating a fixed payload for discard requests always was a horrible hack,
and it's not coming to byte us when adding support for discard in DM/MD.
So change the code to leave the allocation of a payload to the lowlevel
driver. Unfortunately that means we'll need another hack, which allows
us to update the various block layer length fields indicating that we
have a payload. Instead of hiding this in sd.c, which we already partially
do for UNMAP support add a documented helper in the core block layer for it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-08-07 18:23:08 +02:00
..
2010-05-27 10:28:11 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-25 10:20:41 -05:00
2010-02-18 17:24:21 +00:00
2010-05-24 11:11:03 -05:00
2010-05-25 10:05:40 -05:00
2010-05-18 10:37:41 -04:00
2010-05-02 15:35:23 -04:00
2010-04-11 14:04:02 -05:00
2009-06-12 18:01:46 +02:00
2010-05-25 08:07:02 -07:00
2010-04-11 14:02:39 -05:00
2010-07-27 11:53:23 -05:00
2010-05-16 22:22:34 -04:00
2010-05-21 07:19:18 -07:00
2010-05-21 09:37:31 -07:00
2010-05-17 05:27:04 +02:00
2010-05-25 08:07:02 -07:00
2010-04-11 14:44:01 -05:00
2010-08-07 18:20:39 +02:00
2010-05-10 10:23:14 +02:00
2010-05-02 11:04:23 -04:00
2010-05-21 09:37:31 -07:00
2010-05-18 10:37:41 -04:00
2009-12-15 08:53:32 -08:00
2010-05-24 08:01:10 -07:00
2010-04-11 09:23:25 -05:00
2010-05-24 08:01:10 -07:00
2009-12-04 12:00:51 -06:00
2010-05-24 08:01:10 -07:00
2010-04-11 09:23:25 -05:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:07 +02:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:07 +02:00
2010-05-26 19:51:09 +02:00
2010-05-01 09:54:22 -05:00
2010-03-30 22:02:32 +09:00
2010-08-07 18:15:46 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-03-26 21:15:29 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-02-19 11:15:33 -06:00
2010-03-30 22:02:32 +09:00
2009-12-04 23:41:47 +01:00
2010-05-17 05:27:04 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-01-18 10:48:10 -06:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-01-18 10:48:14 -06:00
2010-01-18 10:48:16 -06:00
2010-03-30 22:02:32 +09:00
2010-01-18 10:48:16 -06:00
2010-05-24 08:01:10 -07:00
2010-01-18 10:48:16 -06:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:08 +02:00
2010-03-30 22:02:32 +09:00
2010-05-02 11:02:17 -04:00
2010-05-02 11:02:17 -04:00
2010-03-03 18:37:22 +05:30
2010-03-30 22:02:32 +09:00
2009-10-02 09:45:22 -05:00
2010-01-18 10:48:08 -06:00
2010-03-30 22:02:32 +09:00
2008-12-29 11:24:12 -06:00
2010-02-09 11:13:56 +01:00
2008-12-29 11:24:12 -06:00
2010-07-21 13:52:13 -07:00
2010-07-21 13:52:13 -07:00
2009-04-07 08:31:11 -07:00
2010-05-25 10:04:10 -05:00
2010-04-11 14:04:05 -05:00
2010-03-30 22:02:32 +09:00
2010-03-03 21:17:06 +05:30
2010-03-30 22:02:32 +09:00
2010-04-11 14:03:59 -05:00
2010-05-02 11:16:50 -04:00
2010-03-30 22:02:32 +09:00
2010-06-02 17:50:38 +10:00
2010-03-30 22:02:32 +09:00
2008-12-28 20:00:03 +01:00
2010-04-30 12:51:10 -05:00
2010-05-17 05:27:04 +02:00
2010-05-17 05:27:04 +02:00
2010-06-02 17:50:38 +10:00
2010-03-30 22:02:32 +09:00
2010-05-26 19:51:07 +02:00
2010-05-02 15:55:03 -04:00
2010-03-30 22:02:32 +09:00
2008-12-29 11:24:12 -06:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-27 09:12:56 -07:00
2009-03-12 12:58:10 -05:00
2010-04-11 09:23:32 -05:00
2010-02-09 11:13:56 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-05 15:37:12 -07:00
2009-05-20 17:21:13 -05:00
2008-12-29 11:24:12 -06:00
2010-05-22 00:10:40 -06:00
2009-12-04 12:01:28 -06:00
2010-03-03 21:17:06 +05:30
2010-05-18 10:37:41 -04:00
2010-03-30 22:02:32 +09:00
2010-08-07 18:17:56 +02:00
2009-12-04 12:01:33 -06:00
2009-12-04 12:01:30 -06:00
2010-08-07 18:17:56 +02:00
2010-03-30 22:02:32 +09:00
2009-09-15 09:50:47 -07:00
2010-03-30 22:02:32 +09:00
2010-02-08 17:15:19 -06:00
2010-05-27 10:28:11 -07:00
2009-11-18 08:37:40 -08:00
2010-05-01 14:16:30 -05:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-30 12:52:08 -05:00
2010-04-11 09:49:33 -05:00
2010-03-30 22:02:32 +09:00
2010-02-08 17:15:19 -06:00
2010-03-30 22:02:32 +09:00
2009-01-02 10:22:16 -06:00
2009-04-21 19:40:00 -07:00
2010-04-30 12:51:10 -05:00
2010-03-30 22:02:32 +09:00
2009-11-26 08:54:46 -06:00
2010-08-07 18:23:08 +02:00
2009-12-10 08:54:15 -06:00
2010-03-30 22:02:32 +09:00
2010-05-17 05:27:04 +02:00
2010-03-07 17:04:50 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-27 09:12:56 -07:00
2009-12-10 08:54:13 -06:00
2010-03-30 22:02:32 +09:00
2010-08-07 18:17:56 +02:00
2010-08-07 18:17:56 +02:00
2010-08-07 18:17:56 +02:00
2010-03-30 22:02:32 +09:00
2010-05-22 00:10:40 -06:00
2008-12-29 11:24:12 -06:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-04 12:00:49 -06:00
2010-05-02 15:54:15 -04:00
2010-05-02 15:54:15 -04:00
2010-04-11 13:37:33 -05:00
2009-06-25 11:37:23 -05:00
2010-05-17 21:37:41 +02:00