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 907614 Details for
Bug 1106856
fstrim is not trimming thin volumes data as expected
[?]
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]
Proposed patch
diff (text/plain), 632 bytes, created by
Lukáš Czerner
on 2014-06-11 12:13:00 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Lukáš Czerner
Created:
2014-06-11 12:13:00 UTC
Size:
632 bytes
patch
obsolete
>diff --git a/drivers/md/dm-thin.c b/drivers/md/dm-thin.c >index 242ac2e..fdd7089 100644 >--- a/drivers/md/dm-thin.c >+++ b/drivers/md/dm-thin.c >@@ -3068,7 +3068,9 @@ static void set_discard_limits(struct pool_c *pt, struct queue_limits *limits) > */ > if (pt->adjusted_pf.discard_passdown) { > data_limits = &bdev_get_queue(pt->data_dev->bdev)->limits; >- limits->discard_granularity = data_limits->discard_granularity; >+ limits->discard_granularity = >+ max(data_limits->discard_granularity, >+ pool->sectors_per_block << SECTOR_SHIFT); > } else > limits->discard_granularity = pool->sectors_per_block << SECTOR_SHIFT; > }
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 1106856
:
905457
|
905460
|
905464
|
905467
| 907614