Messages in this thread | | | Date | Wed, 23 Jul 2014 11:06:26 +0800 | From | "Zhang, Yanmin" <> | Subject | Re: [dm-devel] [PATCH] md/dm-ioctl.c: optimize memory allocation in copy_params |
| |
On 2014/7/22 9:23, Alasdair G Kergon wrote: >>>> On 2014/7/9 6:39, Mikulas Patocka wrote: >>> Which ioctl with more than 16kB >>> arguments do you use? > Unanswered. Let's ask the same question in a different way: > > Please supply the output of these three commands on the real-world system on > which you believe that that particular allocation is causing you a problem: > dmsetup info -c > dmsetup table > dmsetup status
Android doesn't include the command. We compiled lvm2-2_02_107.tar.gz and copy dmsetup to the board. But command reports No devices.
# /data/bin/dmsetup info No devices found
# cat /proc/devices Character devices: 1 mem 4 /dev/vc/0 4 tty 4 ttyS 4 ttyMFD 5 /dev/tty 5 /dev/console 5 /dev/ptmx 7 vcs 10 misc 13 input 21 sg 29 fb 81 video4linux 89 i2c 108 ppp 116 alsa 128 ptm 136 pts 153 spi 166 ttyACM 180 usb 188 ttyUSB 189 usb_device 202 cpu/msr 203 cpu/cpuid 226 drm 241 mdm_ctrl 242 sep54 243 roccat 244 hidraw 245 ttyGS 246 usbmon 247 ttyPTI 248 gsmtty 249 bsg 250 iio 251 ptp 252 pps 253 media 254 rtc
Block devices: 1 ramdisk 259 blkext 7 loop 8 sd 9 md 11 sr 65 sd 66 sd 67 sd 68 sd 69 sd 70 sd 71 sd 128 sd 129 sd 130 sd 131 sd 132 sd 133 sd 134 sd 135 sd 179 mmc 253 device-mapper 254 mdp
| |