Matthew Wilcox
dd22f551ac
block: Change direct_access calling convention
...
In order to support accesses to larger chunks of memory, pass in a
'size' parameter (counted in bytes), and return the amount available at
that address.
Add a new helper function, bdev_direct_access(), to handle common
functionality including partition handling, checking the length requested
is positive, checking for the sector being page-aligned, and checking
the length of the request does not pass the end of the partition.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com >
Reviewed-by: Jan Kara <jack@suse.cz >
Reviewed-by: Boaz Harrosh <boaz@plexistor.com >
Signed-off-by: Jens Axboe <axboe@fb.com >
2015-01-13 21:58:11 -07:00
..
2014-12-14 16:43:47 -08:00
2014-12-17 20:09:53 +03:00
2014-12-15 17:05:08 -08:00
2014-12-14 14:05:05 -08:00
2014-12-14 14:57:16 -08:00
2014-12-15 17:30:09 -08:00
2014-12-15 18:19:03 -08:00
2014-12-15 15:52:01 -08:00
2014-12-14 14:57:16 -08:00
2014-12-19 14:02:02 -08:00
2014-12-23 18:13:16 -08:00
2014-12-13 12:42:51 -08:00
2014-12-14 16:10:09 -08:00
2015-01-02 15:05:12 -07:00
2015-01-13 21:58:11 -07:00
2014-12-11 18:57:19 -08:00
2014-12-18 19:08:10 -08:00
2014-12-13 12:42:51 -08:00
2014-12-18 09:54:36 +01:00
2014-12-14 16:10:09 -08:00
2014-12-19 22:55:06 +01:00
2014-12-14 16:10:09 -08:00
2014-12-13 12:42:52 -08:00
2014-12-16 15:53:03 -08:00
2014-12-13 12:42:53 -08:00
2014-12-15 10:17:38 -05:00
2014-12-13 12:42:48 -08:00
2014-12-12 11:15:33 +01:00
2014-12-11 17:48:14 -08:00
2014-12-14 12:54:40 -08:00
2014-12-12 15:15:41 -05:00
2014-12-16 14:53:01 -08:00
2014-12-16 15:53:03 -08:00
2014-12-13 13:33:07 +01:00
2014-12-14 15:23:32 -08:00
2014-12-13 12:42:47 -08:00
2014-12-15 13:06:40 +01:00
2014-12-18 09:39:51 +01:00
2014-12-15 18:28:25 -08:00
2014-12-11 18:52:37 -08:00
2014-12-13 12:42:49 -08:00
2014-12-17 08:26:51 -05:00
2014-12-13 12:42:48 -08:00
2014-12-17 08:26:51 -05:00
2014-12-15 15:52:01 -08:00
2014-12-13 12:42:48 -08:00
2014-12-13 12:42:49 -08:00
2014-12-13 12:42:48 -08:00
2014-12-13 12:42:48 -08:00
2014-12-14 14:57:16 -08:00
2014-12-19 14:02:02 -08:00
2014-12-13 12:42:53 -08:00
2014-12-11 18:36:26 -08:00
2014-12-16 15:02:23 -05:00
2014-12-12 15:26:48 -08:00
2014-12-13 00:45:24 +01:00
2014-12-11 13:38:31 -08:00
2014-12-13 12:42:52 -08:00
2014-12-12 10:08:06 -08:00
2014-12-13 12:42:51 -08:00
2014-12-13 12:42:48 -08:00
2014-12-13 12:42:49 -08:00
2014-12-13 12:42:48 -08:00
2014-12-13 12:42:47 -08:00
2014-12-13 12:42:51 -08:00
2014-12-13 12:25:19 +08:00
2014-12-17 06:43:56 -05:00
2014-12-17 12:31:40 -08:00
2014-12-14 18:21:31 +02:00
2014-12-17 10:37:56 -08:00
2014-12-13 12:42:48 -08:00
2014-12-15 23:49:28 +02:00