Skip to content

Commit

Permalink
Don't abuse!! Rename to azbuse. (#52)
Browse files Browse the repository at this point in the history
* Rename to azbuse

Don't abuse.
  • Loading branch information
akiradeveloper authored May 17, 2024
1 parent 55075b5 commit 937bd5b
Show file tree
Hide file tree
Showing 19 changed files with 737 additions and 767 deletions.
35 changes: 16 additions & 19 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,53 +26,50 @@ jobs:
version: 1.0

- name: Build module
working-directory: abuse-kmod
working-directory: azbuse-kmod
run: sudo make install

- name: Load module
run: |
sudo modprobe abuse
sudo modprobe azbuse
ls /dev
- name: Install abusectl
run: sudo cargo install --path abusectl --root /usr/local
- name: Install azbusectl
run: sudo cargo install --path azbusectl --root /usr/local

- name: Add /dev/abuse1
- name: Add /dev/azbuse1
run: |
sudo abusectl add 1
sudo azbusectl add 1
lsblk
sudo abusectl remove 1
sudo azbusectl remove 1
lsblk
sudo abusectl add 1
sudo azbusectl add 1
lsblk
- name: Connect /dev/abuse1 and ramdisk
- name: Connect /dev/azbuse1 and ramdisk
run: |
sudo cargo build -p abuse-ramdisk --release
sudo target/release/abuse-ramdisk 1 &> abuse.log &
sudo cargo build -p ramdisk --release
sudo target/release/ramdisk 1 &> azbuse.log &
sleep 1
lsblk
- name: Logical test (badblocks)
run: sudo badblocks -wsv /dev/abuse1
run: sudo badblocks -wsv /dev/azbuse1

- name: Performance test
run: sudo ruby tests/perf.rb /dev/abuse1
run: sudo ruby tests/perf.rb /dev/azbuse1

- name: Error log
run: |
sudo cat /var/lib/dkms/abuse/1.0.0/build/make.log
sudo cat /var/lib/dkms/azbuse/1.0.0/build/make.log
if: ${{ failure() }}

- name: App Log
run: |
sudo cat abuse.log
sudo cat azbuse.log
if: ${{ always() }}

- name: kernel Log
run: |
sudo dmesg
if: ${{ always() }}



if: ${{ always() }}
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,5 @@ Cargo.lock

tmp*

abuse-ramdisk.bin
nbd-ramdisk.bin

dd-read.sh
dd-perf-read.sh
dd-perf-write.sh

log
*.log
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[workspace]
members = [
"abuse",
"abusectl",
"tests/abuse-ramdisk",
"azbuse",
"azbusectl",
"tests/ramdisk",
]

[workspace.dependencies]
Expand Down
Loading

0 comments on commit 937bd5b

Please sign in to comment.