pub(crate) fn reset(&self, io: &Bio, channels: &NexusChannelInner) {
        // in case of resets, we want to reset all underlying children
        let results = channels
            .writers
            .iter()
            .map(|c| unsafe {
                let (bdev, chan) = c.io_tuple();
                trace!("Dispatched RESET");
                spdk_bdev_reset(
                    bdev,
                    chan,
                    Some(Self::io_completion),
                    io.as_ptr() as *mut _,
                )
            })
            .collect::<Vec<_>>();

        self.check_io_submission(&results, &io);
    }
/// send reset IO to the underlying children.
send reset IO to the underlying children.
send reset IO to the underlying children .
pub(crate) fn reset(&self, io: &Bio, channels: &NexusChannelInner) {
        // in case of resets, we want to reset all underlying children
        let results = channels
            .writers
            .iter()
            .map(|c| unsafe {
                let (bdev, chan) = c.io_tuple();
                trace!("Dispatched RESET");
                spdk_bdev_reset(
                    bdev,
                    chan,
                    Some(Self::io_completion),
                    io.as_ptr() as *mut _,
                )
            })
            .collect::<Vec<_>>();
        self.check_io_submission(&results, &io);
    }
pub ( crate ) fn reset ( & self , io : & Bio , channels : & NexusChannelInner ) { // in case of resets, we want to reset all underlying children let results = channels . writers . iter ( ) . map ( | c | unsafe { let ( bdev , chan ) = c . io_tuple ( ) ; trace ! ( " " ) ; spdk_bdev_reset ( bdev , chan , Some ( Self :: io_completion ) , io . as_ptr ( ) as * mut _ , ) } ) . collect :: < Vec < _ > > ( ) ; self . check_io_submission ( & results , & io ) ; }
send reset IO to the underlying children.
send reset IO to the underlying children .
&self
io
&Bio
channels
&NexusChannelInner