Let's validate the given constraints for atomic write request.
Otherwise it will fail with -EINVAL. Currently atomic write is only
supported on DIO, so for buffered-io it will return -EOPNOTSUPP.
Signed-off-by: Ritesh Harjani (IBM)<ritesh.list@xxxxxxxxx>