Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 317388 Details for
Bug 454872
[NetApp 4.8 bug] online resize of filesystem does not work
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
check for device resize when rescanning partitions
3-check-for-device-resize-when-rescanning-partitions.patch (text/plain), 1.00 KB, created by
Jeff Moyer
on 2008-09-22 17:37:31 UTC
(
hide
)
Description:
check for device resize when rescanning partitions
Filename:
MIME Type:
Creator:
Jeff Moyer
Created:
2008-09-22 17:37:31 UTC
Size:
1.00 KB
patch
obsolete
>Check for device resize when rescanning partitions > >Check for device resize in the rescan_partitions() routine. If the device >has been resized, the bdev size is set to match. The rescan_partitions() >routine is called when opening the device and when calling the >BLKRRPART ioctl. > >diff -up linux-2.6.9/fs/partitions/check.c.orig linux-2.6.9/fs/partitions/check.c >--- linux-2.6.9/fs/partitions/check.c.orig 2008-09-02 17:08:40.283353836 -0400 >+++ linux-2.6.9/fs/partitions/check.c 2008-09-22 11:26:46.049731326 -0400 >@@ -405,11 +405,12 @@ int rescan_partitions(struct gendisk *di > res = invalidate_partition(disk, 0); > if (res) > return res; >- bdev->bd_invalidated = 0; > for (p = 1; p < disk->minors; p++) > delete_partition(disk, p); > if (disk->fops->revalidate_disk) > disk->fops->revalidate_disk(disk); >+ check_disk_size_change(disk, bdev); >+ bdev->bd_invalidated = 0; > if (!get_capacity(disk) || !(state = check_partition(disk, bdev))) > return 0; > if (IS_ERR(state)) /* I/O error reading the partition table */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 454872
:
317386
|
317387
| 317388 |
317389
|
317390
|
317391