From: Jason Dillaman Date: Thu, 25 Jan 2018 16:27:18 +0000 (-0500) Subject: Merge pull request #19058 from shinobu-x/wip-22190-luminous X-Git-Tag: v12.2.3~166 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fa97a4793bfb8ee092fc10b4961652465f5d686b;p=ceph.git Merge pull request #19058 from shinobu-x/wip-22190-luminous luminous: class rbd.Image discard----OSError: [errno 2147483648] error discarding region Reviewed-by: Jason Dillaman --- fa97a4793bfb8ee092fc10b4961652465f5d686b diff --cc PendingReleaseNotes index b46d1dce1009,34d2cab0cec1..909496384047 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@@ -38,3 -38,16 +38,10 @@@ make the number of PGs per OSD exceed the configured ``mon_max_pg_per_osd`` limit. The option can be adjusted if it is really necessary to create a pool with more PGs. + -* There was a bug in the PG mapping behavior of the new *upmap* - feature. If you made use of this feature (e.g., via the `ceph osd - pg-upmap-items` command), we recommend that all mappings be removed (via - the `ceph osd rm-pg-upmap-items` command) before upgrading to this - point release. - -13.0.0 ++12.2.3 + ------ + + * The RBD C API's rbd_discard method now enforces a maximum length of + 2GB to match the C++ API's Image::discard method. This restriction + prevents overflow of the result code.