On Mon, 22 Oct 2018 22:32:14 +0530, jitendra kumar khasdev said:
> Working on a custom driver that tracks I/Os on block level. For some use
> case, I need to write metadata of tracked I/Os from driver in shutdown
> sequence (more likely in reboot handler). In reboot handler, performing I/O
> on
>
>
> As usual, I'm going to start with:
>
> Step 0: What problem are you trying to solve by doing this?
>
Working on a custom driver that tracks I/Os on block level. For some use
case, I need to write metadata of tracked I/Os from driver in shutdown
sequence (more likely in reboot handler). In
22.10.2018, 12:28, "jitendra kumar khasdev" :Hi All, Hello, I think you can do this but should look at the kernel/howto documents.dd command does not already do this? May be not write when singles and async. Check out blkdev_write and blk_queue_write kernel functions. maybe should read it: