]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #19058 from shinobu-x/wip-22190-luminous
authorJason Dillaman <dillaman@redhat.com>
Thu, 25 Jan 2018 16:27:18 +0000 (11:27 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 25 Jan 2018 16:28:32 +0000 (11:28 -0500)
luminous: class rbd.Image discard----OSError: [errno 2147483648] error discarding region

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
1  2 
PendingReleaseNotes

index b46d1dce10090862177cb1e654105b437d6e3cab,34d2cab0cec1b47bc83119a4a0c446e6a1f782c0..90949638404710546ea3dbd04e5f1cfa2a16965f
    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.