Added python2.7 compatibility for debian
Adds a manpage for targetcli
Fix CnP error in prm_buffered

Signed-off-by: Andy Grover <agrover@redhat.com>
Enable execution of cmdline parameters in targetcli

Check the commandline and only enter interactive shell if no additional
parameters were given. If parameters were given, execute them and exit.

Signed-off-by: Andy Grover <agrover@redhat.com>

Merged by Jerome Martin <tramjoe.merin@gmail.com>
Conflicts:
	scripts/targetcli
Add warning when using fileio backstore for block devices

Block backstore should have better performance, although there are some
use cases for this still, so we need to allow it.

Signed-off-by: Andy Grover <agrover@redhat.com>
Create file of given size if !exist

Allow the user to create a file backstore by specifying a new file name
and a size. We create the file and blow it up to the size (will be fast if
sparse files are in use.

Handle rename of convert_human_to_bytes -> human_to_bytes

Signed-off-by: Andy Grover <agrover@redhat.com>

Merged by Jerome Martin <tramjoe.merin@gmail.com>
Conflicts:
	targetcli/ui_backstore.py
Implement fileio sparse true|false option

When creating a new backing file, we can optionally fully claim its
storage in the fs by writing to all of it, or simply seek to the end
and write a byte, in which case the fs may allocate it as a sparse file.

Merged by Jerome Martin <tramjoe.merin@gmail.com>
Conflicts:
	targetcli/ui_backstore.py
Display sizes for backstores that support it

Use bytes_to_human to print their size in the summary, for
storageobjects that support a size attribute.

Signed-off-by: Andy Grover <agrover@redhat.com>

Merged by Jerome Martin <tramjoe.merin@gmail.com>
Conflicts:
	targetcli/ui_backstore.py