diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2014-10-21 16:03:03 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2014-10-23 16:56:53 +0200 |
commit | 3cad83075c7b847fe0eb6e61316fdf50984d4570 (patch) | |
tree | a286ce1b56987c52fd99bb6dff2079d8fc75ab81 /target-cris | |
parent | 1b2dd0bee6bd03045b90c8a7549c8134466b2938 (diff) |
block: char devices on FreeBSD are not behind a pager
Introduce a new flag to mark devices that require requests to be aligned and
replace the usage of BDRV_O_NOCACHE and O_DIRECT with this flag when
appropriate.
If a character device is used as a backend on a FreeBSD host set this flag
unconditionally.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'target-cris')
0 files changed, 0 insertions, 0 deletions