aboutsummaryrefslogtreecommitdiff
path: root/fsdev
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2019-03-28 23:27:49 -0500
committerEric Blake <eblake@redhat.com>2019-04-01 08:46:52 -0500
commit4841211e0d1628cd386b35835676d7f6f9a4fa9d (patch)
tree1b8268090b537c4b264b2ba118b0d114297310a1 /fsdev
parent9cf638508c0090b33ada4155c7cbb684e08e5ee9 (diff)
block: Add bdrv_get_request_alignment()
The next patch needs access to a device's minimum permitted alignment, since NBD wants to advertise this to clients. Add an accessor function, borrowing from blk_get_max_transfer() for accessing a backend's block limits. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20190329042750.14704-6-eblake@redhat.com>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions