From: Bart V. A. <bar...@sa...> - 2015-04-13 08:08:32
|
On 04/13/15 08:28, shahar.salzman wrote: > I have 2 questions: > 1. Why is block size re-calculated? Are there devices which change the > block size on the fly? > 2. Is the block size change valid considering the fact that there may > be other hosts using this device which are not notified of the block > size modification? Hello Shahar, The block size could change after a medium change. The (untested) attached two patches cause a message to be logged in case of a block size change and also prevent attempts to parse the block size if the READ CAPACITY command has been aborted. It would be appreciated if anyone could review and/or test these patches. Thanks, Bart. |