Sebastian Herbszt
2014-08-29 23:15:54 UTC
Hello,
the cover letter for "TCM Referrals support" [1] describes the map format for
'lba_map' as:
<segment size> <segment multiplier>
<start lba> <end lba> <pgX:stateY> ... <pgN:stateM>
...
target_core_store_dev_lba_map() does not seem to get the whole map at once,
but line by line, so this does not work (anymore?). What am I missing?
It seems to work if I change the delimiter from "\n" to ";" and put the whole
map on one line.
[1] http://thread.gmane.org/gmane.linux.scsi/85530
Sebastian
the cover letter for "TCM Referrals support" [1] describes the map format for
'lba_map' as:
<segment size> <segment multiplier>
<start lba> <end lba> <pgX:stateY> ... <pgN:stateM>
...
target_core_store_dev_lba_map() does not seem to get the whole map at once,
but line by line, so this does not work (anymore?). What am I missing?
It seems to work if I change the delimiter from "\n" to ";" and put the whole
map on one line.
[1] http://thread.gmane.org/gmane.linux.scsi/85530
Sebastian