[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] reworked dm-switch target



On Fri, Aug 17, 2012 at 02:18:15PM +0000, Jim_Ramsay dell com wrote:
>   dmsetup message switch 0 set-table 0-0:1 1-1:0 2-2:2 3-3:1 4-4:0 5-5:2 6-6:0 7-8:1 9-15:2 16-16:1 ... (plus almost 1000000 more arguments...)

Or 0,3,16:1 1,4:0 2,5:2 6:0 -8:1 -15:2
with three short-hands:
0-0 -> 0
6:0 7-8:1  -> 6:0 -8:1  (missing start of range assumes continues from last one)
0:0 3:0 -> 0,3:0 (list)

> an additional mechanism to upload larger chunks
> of binary data all at once would be important for our use of the device. 

The message mechanism could probably be extended to accept blobs of binary data
if parsing so many numbers turns out to be too inefficient.  Now we have an
example to work with, we can check the speed.

Alasdair


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]