On Wed, Jun 22, 2016 at 09:51:09AM -0600, Eric Blake wrote: > Another step towards killing off sector-based block APIs. > > Unlike write_zeroes, where we can be handed unaligned requests > and must fail gracefully with -ENOTSUP for a fallback, we are > guaranteed that discard requests are always aligned because the > block layer already ignored unaligned head/tail. > > Signed-off-by: Eric Blake <ebl...@redhat.com> > --- > block/iscsi.c | 18 ++++++++---------- > 1 file changed, 8 insertions(+), 10 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature