cperciva 9ca3584fdd Fix a bug introduced in r291716:
"The problem with the approach taken both in _bus_dmamap_load_pages and
bus_dmamap_load_ma_triv is that they split the request buffer into
arbitrary chunks based on page boundaries, creating segments that no
longer have a size that's a multiple of the sector size. This breaks
drivers like blkfront (and probably other stuff)." [1]

This was most easily triggered by running `fsck /` on a system running
in Xen (e.g. Amazon EC2) but also showed up via growfs(8) and probably
many other userland tools which access the disk directly.

Patch by:	royger [1]
"Thinks this should be fine" by:	ken
2016-01-11 20:38:39 +00:00
..
2015-07-20 09:37:42 +00:00
2016-01-09 01:56:46 +00:00
2015-04-22 14:38:58 +00:00
2015-12-13 11:30:36 +00:00
2015-01-22 11:12:42 +00:00
2015-12-23 03:34:43 +00:00
2015-06-30 17:00:45 +00:00
2015-11-19 05:50:22 +00:00
2015-01-22 11:12:42 +00:00
2015-07-29 17:18:27 +00:00
2015-07-11 15:22:11 +00:00
2015-07-11 15:22:11 +00:00
2015-06-10 10:48:12 +00:00
2015-03-17 14:16:50 +00:00