Device Mapper and queue running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have the block_device structure of a device_mapped device (of the
type /dev/dm-x). I wish to run its queue for I/O, something similar to
blk_run_queue(q), but the kernel crashes.

The kernel crashes when calling blk_run_queue() for a dm device queue.
The reason is all queue variables such as lock, request_fn, unplug_fn
are set to null.

However, the private_data is not null. does this point to struct
mapped_device? struct mapped_device is also not exported, so it does
not help much either.

Is it possible to run the I/O queue of a DM device?

Thanks,

--
Goldwyn :o)

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux