mfrw / compcache

Automatically exported from code.google.com/p/compcache
0 stars 0 forks source link

Changing disk size on linux 3.8 broken. #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create and use a zram device
2. echo 1 > /sys/block/zramX/reset
3. echo 0 > /sys/block/zramX/disksize

What version of the product are you using? On what operating system?
linux 3.8-rc4

Please provide any additional information below.
echoing zero to the disksize file used to delete the specified device from 
/proc/partitions.

This now returns a write error.

Also after reset the size shown in /proc/partitions is no consistent with the 
value
in the disksize file which is zero.

Is there a new procedure for deleting unused devices?

Original issue reported on code.google.com by viech...@gmail.com on 23 Jan 2013 at 5:43