aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-x86_64-has-stack-protector.sh
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2015-02-05 10:14:54 -0700
committerJens Axboe <axboe@fb.com>2015-02-05 10:14:54 -0700
commit9f9ee1f2b2f94f19437ae2def7c0d6636d7fe02e (patch)
tree0f4b843f294f7cc586acdb4558bd6c687205143b /scripts/gcc-x86_64-has-stack-protector.sh
parent9124d3fe21b0947b03f4b87bcfb7acd675d6e85b (diff)
block: Quiesce zeroout wrapper
blkdev_issue_zeroout() printed a warning if a device failed a discard or write same request despite advertising support for these. That's fine for SCSI since we'll disable these commands if we get an error back from the disk saying that they are not supported. And consequently the warning only gets printed once. There are other types of block devices that support discard, however, and these may return -EOPNOTSUPP for each command but leave discard enabled in the queue limits. This will cause a warning message for every blkdev_issue_zeroout() invocation. Remove the offending warning messages. Reported-by: Sedat Dilek <sedat.dilek@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Tested-by: Sedat Dilek <sedat.dilek@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'scripts/gcc-x86_64-has-stack-protector.sh')
0 files changed, 0 insertions, 0 deletions