- 30 10月, 2018 18 次提交
-
-
由 Darrick J. Wong 提交于
Since the remap prep function can update the length of the remap request, we can change this function to return the usual return status instead of the odd behavior it has now. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
There are no callers of vfs_dedupe_file_range_compare, so we might as well make it a static helper and remove the export. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Plumb in a remap flag that enables the filesystem remap handler to shorten remapping requests for callers that can handle it. Now copy_file_range can report partial success (in case we run up against alignment problems, resource limits, etc.). We also enable CAN_SHORTEN for fideduperange to maintain existing userspace-visible behavior where xfs/btrfs shorten the dedupe range to avoid stale post-eof data exposure. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Plumb a remap_flags argument through the vfs_dedupe_file_range_one functions so that dedupe can take advantage of it. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Plumb a remap_flags argument through the {do,vfs}_clone_file_range functions so that clone can take advantage of it. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Change the remap_file_range functions to take a number of bytes to operate upon and return the number of bytes they operated on. This is a requirement for allowing fs implementations to return short clone/dedupe results to the user, which will enable us to obey resource limits in a graceful manner. A subsequent patch will enable copy_file_range to signal to the ->clone_file_range implementation that it can handle a short length, which will be returned in the function's return value. For now the short return is not implemented anywhere so the behavior won't change -- either copy_file_range manages to clone the entire range or it tries an alternative. Neither clone ioctl can take advantage of this, alas. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Extend generic_remap_file_range_prep to handle inode metadata updates when remapping into a file. If the operation can possibly alter the file contents, we must update the ctime and mtime and remove security privileges, just like we do for regular file writes. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Pass the same remap flags to generic_remap_checks for consistency. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Plumb the remap flags through the filesystem from the vfs function dispatcher all the way to the prep function to prepare for behavior changes in subsequent patches. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Combine the clone_file_range and dedupe_file_range operations into a single remap_file_range file operation dispatch since they're fundamentally the same operation. The differences between the two can be made in the prep functions. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Since we use clone_verify_area for both clone and dedupe range checks, rename the function to make it clear that it's for both. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
The vfs_clone_file_prep is a generic function to be called by filesystem implementations only. Rename the prefix to generic_ and make it more clear that it applies to remap operations, not just clones. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Don't bother calling the filesystem for a zero-length dedupe request; we can return zero and exit. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
A deduplication data corruption is exposed in XFS and btrfs. It is caused by extending the block match range to include the partial EOF block, but then allowing unknown data beyond EOF to be considered a "match" to data in the destination file because the comparison is only made to the end of the source file. This corrupts the destination file when the source extent is shared with it. The VFS remapping prep functions only support whole block dedupe, but we still need to appear to support whole file dedupe correctly. Hence if the dedupe request includes the last block of the souce file, don't include it in the actual dedupe operation. If the rest of the range dedupes successfully, then reject the entire request. A subsequent patch will enable us to shorten dedupe requests correctly. When reflinking sub-file ranges, a data corruption can occur when the source file range includes a partial EOF block. This shares the unknown data beyond EOF into the second file at a position inside EOF, exposing stale data in the second file. If the reflink request includes the last block of the souce file, only proceed with the reflink operation if it lands at or past the destination file's current EOF. If it lands within the destination file EOF, reject the entire request with -EINVAL and make the caller go the hard way. A subsequent patch will enable us to shorten reflink requests correctly. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
File range remapping, if allowed to run past the destination file's EOF, is an optimization on a regular file write. Regular file writes that extend the file length are subject to various constraints which are not checked by range cloning. This is a correctness problem because we're never allowed to touch ranges that the page cache can't support (s_maxbytes); we're not supposed to deal with large offsets (MAX_NON_LFS) if O_LARGEFILE isn't set; and we must obey resource limits (RLIMIT_FSIZE). Therefore, add these checks to the new generic_remap_checks function so that we curtail unexpected behavior. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
If a remap caller asks us to remap to the source file's EOF and the source file length leaves us with a zero byte request, exit early. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
Move the file range checks from vfs_clone_file_prep into a separate generic_remap_checks function so that all the checks are collected in a central location. This forms the basis for adding more checks from generic_write_checks that will make cloning's input checking more consistent with write input checking. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Reviewed-by: NAmir Goldstein <amir73il@gmail.com> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
由 Darrick J. Wong 提交于
vfs_clone_file_prep_inodes cannot return 0 if it is asked to remap from a zero byte file because that's what btrfs does. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDave Chinner <david@fromorbit.com>
-
- 22 10月, 2018 8 次提交
-
-
由 Greg Kroah-Hartman 提交于
-
由 Greg Kroah-Hartman 提交于
As I introduced these files, I'm willing to be the maintainer of them as well. Acked-by: NChris Mason <clm@fb.com> Acked-by: NOlof Johansson <olof@lixom.net> Acked-by: NSteven Rostedt (VMware) <rostedt@goodmis.org> Acked-by: NTheodore Ts'o <tytso@mit.edu> Acked-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Greg Kroah-Hartman 提交于
The contact point for the kernel's Code of Conduct should now be the Code of Conduct Committee, not the full TAB. Change the email address in the file to properly reflect this. Acked-by: NChris Mason <clm@fb.com> Acked-by: NOlof Johansson <olof@lixom.net> Acked-by: NTheodore Ts'o <tytso@mit.edu> Acked-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Greg Kroah-Hartman 提交于
There was a blank <URL> reference for how to find the Code of Conduct Committee. Fix that up by pointing it to the correct kernel.org website page location. Acked-by: NChris Mason <clm@fb.com> Acked-by: NOlof Johansson <olof@lixom.net> Acked-by: NTheodore Ts'o <tytso@mit.edu> Acked-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Greg Kroah-Hartman 提交于
Create a link between the Code of Conduct and the Code of Conduct Interpretation so that people can see that they are related. Acked-by: NChris Mason <clm@fb.com> Acked-by: NOlof Johansson <olof@lixom.net> Acked-by: NTheodore Ts'o <tytso@mit.edu> Acked-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Greg Kroah-Hartman 提交于
We use the term "TAB" before defining it later in the document. Fix that up by defining it at the first location. Reported-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: NChris Mason <clm@fb.com> Acked-by: NOlof Johansson <olof@lixom.net> Acked-by: NTheodore Ts'o <tytso@mit.edu> Acked-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Greg Kroah-Hartman 提交于
Code of Conduct Interpretation: Add document explaining how the Code of Conduct is to be interpreted The Contributor Covenant Code of Conduct is a general document meant to provide a set of rules for almost any open source community. Every open-source community is unique and the Linux kernel is no exception. Because of this, this document describes how we in the Linux kernel community will interpret it. We also do not expect this interpretation to be static over time, and will adjust it as needed. This document was created with the input and feedback of the TAB as well as many current kernel maintainers. Co-Developed-by: NThomas Gleixner <tglx@linutronix.de> Co-Developed-by: NOlof Johansson <olof@lixom.net> Acked-by: NAlex Deucher <alexander.deucher@amd.com> Acked-by: NAlexei Starovoitov <ast@kernel.org> Acked-by: NAmir Goldstein <amir73il@gmail.com> Acked-by: NAndrew Morton <akpm@linux-foundation.org> Acked-by: NAndy Lutomirski <luto@kernel.org> Acked-by: NAnna-Maria Gleixner <anna-maria@linutronix.de> Acked-by: NArd Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: NBoris Brezillon <boris.brezillon@bootlin.com> Acked-by: NBorislav Petkov <bp@kernel.org> Acked-by: NChris Mason <clm@fb.com> Acked-by: NChristian Lütke-Stetzkamp <christian@lkamp.de> Acked-by: NColin Ian King <colin.king@canonical.com> Acked-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NDan Williams <dan.j.williams@intel.com> Acked-by: NDaniel Borkmann <daniel@iogearbox.net> Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch> Acked-by: NDave Airlie <airlied@redhat.com> Acked-by: NDave Hansen <dave.hansen@linux.intel.com> Acked-by: NDavid Ahern <dsa@cumulusnetworks.com> Acked-by: NDavid Sterba <kdave@kernel.org> Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: NDominik Brodowski <linux@dominikbrodowski.de> Acked-by: NEric Dumazet <eric.dumazet@gmail.com> Acked-by: NFelipe Balbi <balbi@kernel.org> Acked-by: NFelix Kuehling <Felix.Kuehling@amd.com> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Acked-by: NGregory CLEMENT <gregory.clement@bootlin.com> Acked-by: NGuenter Roeck <linux@roeck-us.net> Acked-by: NGustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: NHans Verkuil <hverkuil@xs4all.nl> Acked-by: NHans de Goede <j.w.r.degoede@gmail.com> Acked-by: NHarry Wentland <harry.wentland@amd.com> Acked-by: NHeiko Stuebner <heiko@sntech.de> Acked-by: NIngo Molnar <mingo@kernel.org> Acked-by: NJaegeuk Kim <jaegeuk@kernel.org> Acked-by: NJames Smart <james.smart@broadcom.com> Acked-by: NJames Smart <jsmart2021@gmail.com> Acked-by: NJan Kara <jack@ucw.cz> Acked-by: NJani Nikula <jani.nikula@intel.com> Acked-by: NJason A. Donenfeld <Jason@zx2c4.com> Acked-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com> Acked-by: NJens Axboe <axboe@kernel.dk> Acked-by: NJessica Yu <jeyu@kernel.org> Acked-by: NJia-Ju Bai <baijiaju1990@gmail.com> Acked-by: NJiri Kosina <jikos@kernel.org> Acked-by: NJiri Olsa <jolsa@redhat.com> Acked-by: NJoerg Roedel <joro@8bytes.org> Acked-by: NJohan Hovold <johan@kernel.org> Acked-by: NJohannes Thumshirn <jth@kernel.org> Acked-by: NJonathan Corbet <corbet@lwn.net> Acked-by: NJulia Lawall <julia.lawall@lip6.fr> Acked-by: NKees Cook <keescook@chromium.org> Acked-by: NKirill Tkhai <ktkhai@virtuozzo.com> Acked-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: NLina Iyer <ilina@codeaurora.org> Acked-by: NLinus Torvalds <torvalds@linux-foundation.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Acked-by: NMark Brown <broonie@kernel.org> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NMasami Hiramatsu <mhiramat@kernel.org> Acked-by: NMathieu Desnoyers <mathieu.desnoyers@efficios.com> Acked-by: NMatias Bjørling <mb@lightnvm.io> Acked-by: NMauro Carvalho Chehab <mchehab@kernel.org> Acked-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NMichael Ellerman <mpe@ellerman.id.au> Acked-by: NMike Rapoport <rppt@linux.ibm.com> Acked-by: NMimi Zohar <zohar@linux.ibm.com> Acked-by: NMiquel Raynal <miquel.raynal@bootlin.com> Acked-by: NMishi Choudhary <mishi@linux.com> Acked-by: NNikolay Borisov <n.borisov.lkml@gmail.com> Acked-by: NOded Gabbay <oded.gabbay@gmail.com> Acked-by: NPalmer Dabbelt <palmer@dabbelt.com> Acked-by: NPaul E. McKenney <paulmck@linux.ibm.com> Acked-by: NPeter Zijlstra <peterz@infradead.org> Acked-by: NRafael J. Wysocki <rafael@kernel.org> Acked-by: NRichard Weinberger <richard@nod.at> Acked-by: NRik van Riel <riel@surriel.com> Acked-by: NRob Clark <robdclark@gmail.com> Acked-by: NRob Herring <robh@kernel.org> Acked-by: NRodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: NSean Paul <sean@poorly.run> Acked-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: NSebastian Reichel <sre@kernel.org> Acked-by: NSergio Paracuellos <sergio.paracuellos@gmail.com> Acked-by: NShawn Guo <shawnguo@kernel.org> Acked-by: NShuah Khan <shuah@kernel.org> Acked-by: NSimon Horman <horms@verge.net.au> Acked-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org> Acked-by: NStephen Hemminger <stephen@networkplumber.org> Acked-by: NTakashi Iwai <tiwai@kernel.org> Acked-by: NTejun Heo <tj@kernel.org> Acked-by: NTheodore Ts'o <tytso@mit.edu> Acked-by: NThierry Reding <thierry.reding@gmail.com> Acked-by: NTodd Poynor <toddpoynor@google.com> Acked-by: NViresh Kumar <viresh.kumar@linaro.org> Acked-by: NWei Yongjun <weiyongjun1@huawei.com> Acked-by: NYueHaibing <yuehaibing@huawei.com> Reviewed-by: NSteven Rostedt <rostedt@goodmis.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NOlof Johansson <olof@lixom.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Chris Mason 提交于
As it was originally worded, this paragraph requires maintainers to enforce the code of conduct, or face potential repercussions. It sends the wrong message, when really we just want maintainers to be part of the solution and not violate the code of conduct themselves. Removing it doesn't limit our ability to enforce the code of conduct, and we can still encourage maintainers to help maintain high standards for the level of discourse in their subsystem. Signed-off-by: NChris Mason <clm@fb.com> Acked-by: NAlex Deucher <alexander.deucher@amd.com> Acked-by: NAmir Goldstein <amir73il@gmail.com> Acked-by: NAndrew Morton <akpm@linux-foundation.org> Acked-by: NAnna-Maria Gleixner <anna-maria@linutronix.de> Acked-by: NArd Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: NBoris Brezillon <boris.brezillon@bootlin.com> Acked-by: NBorislav Petkov <bp@kernel.org> Acked-by: NChristian Lütke-Stetzkamp <christian@lkamp.de> Acked-by: NChristoph Hellwig <hch@lst.de> Acked-by: NColin Ian King <colin.king@canonical.com> Acked-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NDan Williams <dan.j.williams@intel.com> Acked-by: NDaniel Borkmann <daniel@iogearbox.net> Acked-by: NDave Airlie <airlied@redhat.com> Acked-by: NDave Hansen <dave.hansen@linux.intel.com> Acked-by: NDavid Ahern <dsa@cumulusnetworks.com> Acked-by: NDavid Sterba <kdave@kernel.org> Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: NDominik Brodowski <linux@dominikbrodowski.de> Acked-by: NEric Dumazet <eric.dumazet@gmail.com> Acked-by: NFelipe Balbi <balbi@kernel.org> Acked-by: NFelix Kuehling <Felix.Kuehling@amd.com> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> Acked-by: NFlorian Westphal <fw@strlen.de> Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Acked-by: NGregory CLEMENT <gregory.clement@bootlin.com> Acked-by: NGuenter Roeck <linux@roeck-us.net> Acked-by: NGustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: NHans Verkuil <hverkuil@xs4all.nl> Acked-by: NHans de Goede <j.w.r.degoede@gmail.com> Acked-by: NHarry Wentland <harry.wentland@amd.com> Acked-by: NHeiko Stuebner <heiko@sntech.de> Acked-by: NIngo Molnar <mingo@kernel.org> Acked-by: NJaegeuk Kim <jaegeuk@kernel.org> Acked-by: NJames Smart <james.smart@broadcom.com> Acked-by: NJames Smart <jsmart2021@gmail.com> Acked-by: NJan Kara <jack@ucw.cz> Acked-by: NJason A. Donenfeld <Jason@zx2c4.com> Acked-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com> Acked-by: NJens Axboe <axboe@kernel.dk> Acked-by: NJessica Yu <jeyu@kernel.org> Acked-by: NJia-Ju Bai <baijiaju1990@gmail.com> Acked-by: NJiri Kosina <jikos@kernel.org> Acked-by: NJiri Olsa <jolsa@redhat.com> Acked-by: NJoerg Roedel <joro@8bytes.org> Acked-by: NJohan Hovold <johan@kernel.org> Acked-by: NJohannes Thumshirn <jth@kernel.org> Acked-by: NJonathan Corbet <corbet@lwn.net> Acked-by: NJulia Lawall <julia.lawall@lip6.fr> Acked-by: NKees Cook <keescook@chromium.org> Acked-by: NKirill Tkhai <ktkhai@virtuozzo.com> Acked-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: NLina Iyer <ilina@codeaurora.org> Acked-by: NLinus Torvalds <torvalds@linux-foundation.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Acked-by: NMark Brown <broonie@kernel.org> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NMasami Hiramatsu <mhiramat@kernel.org> Acked-by: NMathieu Desnoyers <mathieu.desnoyers@efficios.com> Acked-by: NMatias Bjørling <mb@lightnvm.io> Acked-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NMichael Ellerman <mpe@ellerman.id.au> Acked-by: NMike Rapoport <rppt@linux.ibm.com> Acked-by: NMimi Zohar <zohar@linux.ibm.com> Acked-by: NMiquel Raynal <miquel.raynal@bootlin.com> Acked-by: NNikolay Borisov <n.borisov.lkml@gmail.com> Acked-by: NOded Gabbay <oded.gabbay@gmail.com> Acked-by: NOlof Johansson <olof@lixom.net> Acked-by: NPalmer Dabbelt <palmer@dabbelt.com> Acked-by: NPaul E. McKenney <paulmck@linux.ibm.com> Acked-by: NPeter Zijlstra <peterz@infradead.org> Acked-by: NRafael J. Wysocki <rafael@kernel.org> Acked-by: NRichard Weinberger <richard@nod.at> Acked-by: NRik van Riel <riel@surriel.com> Acked-by: NRob Clark <robdclark@gmail.com> Acked-by: NRob Herring <robh@kernel.org> Acked-by: NRodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: NSebastian Reichel <sre@kernel.org> Acked-by: NSergio Paracuellos <sergio.paracuellos@gmail.com> Acked-by: NShawn Guo <shawnguo@kernel.org> Acked-by: NShuah Khan <shuah@kernel.org> Acked-by: NSimon Horman <horms@verge.net.au> Acked-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org> Acked-by: NStephen Hemminger <stephen@networkplumber.org> Acked-by: NTakashi Iwai <tiwai@kernel.org> Acked-by: NTejun Heo <tj@kernel.org> Acked-by: NTheodore Ts'o <tytso@mit.edu> Acked-by: NThierry Reding <thierry.reding@gmail.com> Acked-by: NThomas Gleixner <tglx@linutronix.de> Acked-by: NTim Bird <tim.bird@sony.com> Acked-by: NTodd Poynor <toddpoynor@google.com> Acked-by: NTrond Myklebust <trond.myklebust@hammerspace.com> Acked-by: NViresh Kumar <viresh.kumar@linaro.org> Acked-by: NWei Yongjun <weiyongjun1@huawei.com> Acked-by: NYueHaibing <yuehaibing@huawei.com> Reviewed-by: NMauro Carvalho Chehab <mchehab@kernel.org> Reviewed-by: NSteven Rostedt <rostedt@goodmis.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 21 10月, 2018 4 次提交
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux由 Greg Kroah-Hartman 提交于
Wolfram writes: "i2c for 4.19 Another driver bugfix and MAINTAINERS addition from I2C." * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: rcar: cleanup DMA for all kinds of failure MAINTAINERS: Add entry for Broadcom STB I2C controller
-
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net由 Greg Kroah-Hartman 提交于
David writes: "Networking: A few straggler bug fixes: 1) Fix indexing of multi-pass dumps of ipv6 addresses, from David Ahern. 2) Revert RCU locking change for bonding netpoll, causes worse problems than it solves. 3) pskb_trim_rcsum_slow() doesn't handle odd trim offsets, resulting in erroneous bad hw checksum triggers with CHECKSUM_COMPLETE devices. From Dimitris Michailidis. 4) a revert to some neighbour code changes that adjust notifications in a way that confuses some apps." * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: Revert "neighbour: force neigh_invalidate when NUD_FAILED update is from admin" net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs net: fix pskb_trim_rcsum_slow() with odd trim offset Revert "bond: take rcu lock in netpoll_send_skb_on_dev"
-
由 Roopa Prabhu 提交于
This reverts commit 8e326289. This patch results in unnecessary netlink notification when one tries to delete a neigh entry already in NUD_FAILED state. Found this with a buggy app that tries to delete a NUD_FAILED entry repeatedly. While the notification issue can be fixed with more checks, adding more complexity here seems unnecessary. Also, recent tests with other changes in the neighbour code have shown that the INCOMPLETE and PROBE checks are good enough for the original issue. Signed-off-by: NRoopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
-
由 David Ahern 提交于
The loop wants to skip previously dumped addresses, so loops until current index >= saved index. If the message fills it wants to save the index for the next address to dump - ie., the one that did not fit in the current message. Currently, it is incrementing the index counter before comparing to the saved index, and then the saved index is off by 1 - it assumes the current address is going to fit in the message. Change the index handling to increment only after a succesful dump. Fixes: 502a2ffd ("ipv6: convert idev_list to list macros") Signed-off-by: NDavid Ahern <dsahern@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
-
- 20 10月, 2018 10 次提交
-
-
由 Wolfram Sang 提交于
DMA needs to be cleaned up not only on timeout, but on all errors where it has been setup before. Fixes: 73e8b052 ("i2c: rcar: add DMA support") Signed-off-by: NWolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
由 Kamal Dasu 提交于
Add an entry for the Broadcom STB I2C controller in the MAINTAINERS file. Signed-off-by: NKamal Dasu <kdasu.kdev@gmail.com> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> [wsa: fixed sorting and a whitespace error] Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip由 Greg Kroah-Hartman 提交于
Ingo writes: "x86 fixes: It's 4 misc fixes, 3 build warning fixes and 3 comment fixes. In hindsight I'd have left out the 3 comment fixes to make the pull request look less scary at such a late point in the cycle. :-/" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/swiotlb: Enable swiotlb for > 4GiG RAM on 32-bit kernels x86/fpu: Fix i486 + no387 boot crash by only saving FPU registers on context switch if there is an FPU x86/fpu: Remove second definition of fpu in __fpu__restore_sig() x86/entry/64: Further improve paranoid_entry comments x86/entry/32: Clear the CS high bits x86/boot: Add -Wno-pointer-sign to KBUILD_CFLAGS x86/time: Correct the attribute on jiffies' definition x86/entry: Add some paranoid entry/exit CR3 handling comments x86/percpu: Fix this_cpu_read() x86/tsc: Force inlining of cyc2ns bits
-
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip由 Greg Kroah-Hartman 提交于
Ingo writes: "scheduler fixes: Two fixes: a CFS-throttling bug fix, and an interactivity fix." * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/fair: Fix the min_vruntime update logic in dequeue_entity() sched/fair: Fix throttle_list starvation with low CFS quota
-
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip由 Greg Kroah-Hartman 提交于
Ingo writes: "perf fixes: Misc perf tooling fixes." * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf tools: Stop fallbacking to kallsyms for vdso symbols lookup perf tools: Pass build flags to traceevent build perf report: Don't crash on invalid inline debug information perf cpu_map: Align cpu map synthesized events properly. perf tools: Fix tracing_path_mount proper path perf tools: Fix use of alternatives to find JDIR perf evsel: Store ids for events with their own cpus perf_event__synthesize_event_update_cpus perf vendor events intel: Fix wrong filter_band* values for uncore events Revert "perf tools: Fix PMU term format max value calculation" tools headers uapi: Sync kvm.h copy tools arch uapi: Sync the x86 kvm.h copy
-
由 Dimitris Michailidis 提交于
We've been getting checksum errors involving small UDP packets, usually 59B packets with 1 extra non-zero padding byte. netdev_rx_csum_fault() has been complaining that HW is providing bad checksums. Turns out the problem is in pskb_trim_rcsum_slow(), introduced in commit 88078d98 ("net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends"). The source of the problem is that when the bytes we are trimming start at an odd address, as in the case of the 1 padding byte above, skb_checksum() returns a byte-swapped value. We cannot just combine this with skb->csum using csum_sub(). We need to use csum_block_sub() here that takes into account the parity of the start address and handles the swapping. Matches existing code in __skb_postpull_rcsum() and esp_remove_trailer(). Fixes: 88078d98 ("net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends") Signed-off-by: NDimitris Michailidis <dmichail@google.com> Reviewed-by: NEric Dumazet <edumazet@google.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
-
git://anongit.freedesktop.org/drm/drm由 Greg Kroah-Hartman 提交于
Dave writes: "drm fixes for 4.19 final (part 2) Looked like two stragglers snuck in, one very urgent the pageflipping was missing a reference that could result in a GPF on non-i915 drivers, the other is an overflow in the sun4i dotclock calcs resulting in a mode not getting set." * tag 'drm-fixes-2018-10-20-1' of git://anongit.freedesktop.org/drm/drm: drm/sun4i: Fix an ulong overflow in the dotclock driver drm: Get ref on CRTC commit object when waiting for flip_done
-
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace由 Greg Kroah-Hartman 提交于
Steven writes: "tracing: A few small fixes to synthetic events Masami found some issues with the creation of synthetic events. The first two patches fix handling of unsigned type, and handling of a space before an ending semi-colon. The third patch adds a selftest to test the processing of synthetic events." * tag 'trace-v4.19-rc8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: selftests: ftrace: Add synthetic event syntax testcase tracing: Fix synthetic event to allow semicolon at end tracing: Fix synthetic event to accept unsigned modifier
-
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input由 Greg Kroah-Hartman 提交于
Dmitry writes: "Input updates for 4.19-rc8 Just an addition to elan touchpad driver ACPI table." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15IGM
-
git://anongit.freedesktop.org/drm/drm-misc由 Dave Airlie 提交于
Second pull request for v4.19: - Fix ulong overflow in sun4i - Fix a serious GPF in waiting for flip_done from commit_tail(). Signed-off-by: NDave Airlie <airlied@redhat.com> From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/97d1ed42-1d99-fcc5-291e-cd1dc29a4252@linux.intel.com
-