Linux: writes are split into 512K chunks

后端 未结 5 1544
野性不改
野性不改 2020-12-19 10:33

I have a user-space application that generates big SCSI writes (details below). However, when I\'m looking at the SCSI commands that reach the SCSI target (i.e. the storage,

5条回答
  •  天命终不由人
    2020-12-19 11:15

    Looking at the following files should tell you if the logical block size is different, possibly 512 in your case. I am not however sure if you can write to these files to change those values. (the logical block size that is)

    /sys/block//queue/physical_block_size 
    /sys/block//queue/logical_block_size
    

提交回复
热议问题