Providing option to modify max pio limits through debugfs. This is
useful for profiling and determining the default max pio limits.
Bug
1507868
Reviewed-on: http://git-master/r/601084
(cherry picked from commit
849069e3b38780dc347db316428d72d65ffefcdd)
Change-Id: Ibe6edbf3b9d4557b917f7d91fd01d478de4849c0
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/739659
Reviewed-by: Automatic_Commit_Validation_User
root, (u32 *)&host->no_data_transfer_count))
goto err_root;
+ if (!debugfs_create_u32("max_pio_size", S_IRUGO | S_IWUSR,
+ root, (u32 *)&host->max_pio_size))
+ goto err_root;
+
+ if (!debugfs_create_u32("max_pio_blocks", S_IRUGO | S_IWUSR,
+ root, (u32 *)&host->max_pio_blocks))
+ goto err_root;
+
return;
err_root: