Skip to content

Commit

Permalink
examples/null.rs: remove null.rs
Browse files Browse the repository at this point in the history
We have lots of such example in tests code, not bother to duplicate
such example under examples/ any more.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
  • Loading branch information
ming1 committed Oct 14, 2023
1 parent 3719e1d commit 2c0d466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 109 deletions.
20 changes: 3 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ fn main() {

## Test

You can run the test of the library with the following command.

```
# cargo test
```
You can run the test of the library with ```cargo test```

## Performance

Expand All @@ -87,17 +83,7 @@ running same test over ublk device created by blktests `miniublk`[^3], which
is written by pure C. And the ublk device is null, which has 2 queues, each
queue's depth is 64.

## Examples

### null

- add one null ublk device

cargo run \--example null \-- add

- del one null ublk device

cargo run \--example null \-- del \[dev_id\]
## Example

### loop

Expand All @@ -114,7 +100,7 @@ queue's depth is 64.
This project is licensed under either of Apache License, Version 2.0 or
MIT license at your option.

## Contribution
## Contributing

Any kinds of contributions are welcome!

Expand Down
92 changes: 0 additions & 92 deletions examples/null.rs

This file was deleted.

0 comments on commit 2c0d466

Please sign in to comment.