diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2018-06-19 10:57:24 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-06-19 16:12:31 +0200 |
commit | 8163496e78db100a6b5cfbdaece385686ae50129 (patch) | |
tree | 10d7798429edd25a56fb8769c18ddbfebf30aa0c /fs/reiserfs | |
parent | nfsd: fix corrupted reply to badly ordered compound (diff) | |
download | linux-8163496e78db100a6b5cfbdaece385686ae50129.tar.xz linux-8163496e78db100a6b5cfbdaece385686ae50129.zip |
nfsd: don't advertise a SCSI layout for an unsupported request_queue
Commit 30181faae37f ("nfsd: Check queue type before submitting a SCSI
request") did the work of ensuring that we don't send SCSI requests to a
request queue that won't support them, but that check is in the
GETDEVICEINFO path. Let's not set the SCSI layout in fs_layout_type in the
first place, and then we'll have less clients sending GETDEVICEINFO for
non-SCSI request queues and less unnecessary WARN_ONs.
While we're in here, remove some outdated comments that refer to
"overwriting" layout seletion because commit 8a4c3926889e ("nfsd: allow
nfsd to advertise multiple layout types") changed things to no longer
overwrite the layout type.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions