bugfix: wrong next lsid for a logpack with discard IOs only.
fix: no need to calclate checksum for discard IO.
bugfix: wrong assert.
a bit improvement of discard IO processing.
fix: do not insert discard IOs to pending data.