Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allocate 4096 bytes for 4k alligned devices #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Commits on May 20, 2013

  1. allocate 4096 bytes for 4k alligned devices

    To make 4k scsi devices to work, allocated memory needs to be increased
    accordingly
    
    Tested in the following scenario:
    
    modprobe scsi_debug dev_size_mb=100 sector_size=4096
    
    parted /dev/sdc u b p
    Model: Linux scsi_debug (scsi)
    Disk /dev/sdc: 209715200B
    Sector size (logical/physical): 4096B/4096B
    Partition Table: msdos
    
    Number  Start     End         Size        Type     File system  Flags
     1      262144B   2097151B    1835008B    primary               boot,
    prep, type=41
     2      2097152B  200015871B  197918720B  primary               type=83
    
    qemu-system-ppc64 -enable-kvm -M pseries -m 1024 -nographic -drive
    file=/dev/sdc,if=none,format=raw,id=drive-scsi0 -device
    scsi-block,drive=drive-scsi0,id=scsi0  -vga none
    
    Signed-off-by: Dinar Valeev <[email protected]>
    Dinar Valeev committed May 20, 2013
    Configuration menu
    Copy the full SHA
    779927c View commit details
    Browse the repository at this point in the history
  2. Free 4096 bytes as well

    While allocating 4096 bytes, we need to free the same amount
    
    Signed-off-by: Dinar Valeev <[email protected]>
    Dinar Valeev committed May 20, 2013
    Configuration menu
    Copy the full SHA
    6155c69 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2013

  1. Don't print backspaces on CP codes

    Firefox tries to be smart and displays the logs as binary data.
    This is OBS specific hack as it unlikely will be wanted by upstream.
    
    Signed-off-by: Dinar Valeev <[email protected]>
    Dinar Valeev committed Oct 15, 2013
    Configuration menu
    Copy the full SHA
    ee49218 View commit details
    Browse the repository at this point in the history