On Tue, 2008-04-15 at 16:03 -0700, Andrew Morton wrote:I have been looking through code where this might be a problem. The sort of things I was worried about is where something might try and do a calculation based on the i_size and write/read data from there after it has been resized, possibly corrupting data. The COW code in dm seems to come the closest, but then if you are resizing the device that has snapshots on it, you might be getting what you deserve. Agreed. Yes, this common with LVM at least. Whether it is a good idea to do this with a mounted file-system on it is another matter. Except that this is not only done with file-systems. In my case I am just trying to extend an LVM logical volume after a resize but cannot because it is open (activated). In practice, however, it is probably only useful to do this with an online file-system. Otherwise you could just close all openers and the resize will work fine. -- Andrew Patterson --
| Ryan Hope | reiser4 for 2.6.27-rc1 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Andrew Morton | Re: 2.6.20-rc6-mm3 |
| Pierre Ossman | Re: [RFC][PATCH] cpuidle: avoid singing capacitors |
git: | |
| Johannes Schindelin | Re: rc4 - make quick-install-doc is broken |
| Johannes Schindelin | Re: Git benchmarks at OpenOffice.org wiki |
| Shawn O. Pearce | Re: Smart fetch via HTTP? |
| Ken Pratt | pack operation is thrashing my server |
| Chris | avoid logging useless ssh brute force attempts |
| Henning Brauer | Re: httpdv6 |
| Freddy DISSAUX | Re: acer aspire one dmesg? |
| stuartv | Re: Microsoft gets the Most Secure Operating Systems award |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Stephen Pierce | SLS |
| Doug Evans | Re: Stabilizing Linux |
| Les Andrzejewski | X386/WD90C31/SUMSUNG SYNC MASTER 4 |
