common/rc: Check pwrite parameters in _require_xfs_io_command
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Thu, 7 Dec 2017 16:00:42 +0000 (10:00 -0600)
committerEryu Guan <eguan@redhat.com>
Thu, 14 Dec 2017 04:39:57 +0000 (12:39 +0800)
commiteef2209b4fdbff96b57b819ab7a808373680c914
tree7ddc1774cbbc956860d6a8fd3b9cdc6d355adac8
parentc71205ec949f21850383c5398fb9693b4bfbc8a9
common/rc: Check pwrite parameters in _require_xfs_io_command

There are some parameters added with xfs_io. Check if the pwrite
parameters are available. For some cases, xfs_io now returns
"command -%c not supported", so added "not supported" to count as
error.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc